Liang Ding
2015-12-18 11:12:11 +08:00
parent aeb3abf1f3
commit d470e8718c
14 changed files with 14 additions and 15 deletions

View File

@@ -155,8 +155,7 @@
commentHTML += '<span class="gray">•' + result.commentDate.substring(2, 16)
+ '• <a rel="nofollow" href="javascript:replyTo('
+ result.oId + ');">Reply</a></span></div><div class="row">' +
Util.replaceEmString($("#comment" + state).val().replace(/</g, "&lt;").
replace(/>/g, "&gt;").replace(/\n/g, "<br/>")) + '</div>';
Util.replaceEmString($("#comment" + state).val()) + '</div>';
return commentHTML;
};