diff --git a/src/main/java/org/b3log/solo/service/CommentMgmtService.java b/src/main/java/org/b3log/solo/service/CommentMgmtService.java index 946d466c..0b256842 100644 --- a/src/main/java/org/b3log/solo/service/CommentMgmtService.java +++ b/src/main/java/org/b3log/solo/service/CommentMgmtService.java @@ -284,7 +284,7 @@ public JSONObject addArticleComment(final JSONObject requestJSONObject) throws S ret.put(Common.COMMENTABLE, preference.getBoolean(Option.ID_C_COMMENTABLE) && article.getBoolean(Article.ARTICLE_COMMENTABLE)); ret.put(Common.PERMALINK, article.getString(Article.ARTICLE_PERMALINK)); ret.put(Comment.COMMENT_NAME, commentName); - String cmtContent = Markdowns.toHTML(commentContent, "comment_" + commentName + "_" + articleId); + String cmtContent = Markdowns.toHTML(commentContent); cmtContent = Markdowns.clean(cmtContent); ret.put(Comment.COMMENT_CONTENT, cmtContent); ret.put(Comment.COMMENT_URL, commentURL);