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

@@ -131,7 +131,7 @@
commentHTML += '<a class="fn-right" href="javascript:replyTo(\'' + result.oId + '\');">${replyLabel}</a>';
}
commentHTML += '</div><div class="comment-content">' +
Util.replaceEmString($("#comment" + state).val().replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/\n/g, "<br/>"))
Util.replaceEmString($("#comment" + state).val())
+ '</div></div></li>';
return commentHTML;
};