yuken 3 лет назад
Родитель
Сommit
e3059c321c
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/app/src/server/routes/comment.js

+ 2 - 2
packages/app/src/server/routes/comment.js

@@ -229,7 +229,7 @@ module.exports = function(crowi, app) {
     const revisionId = commentForm.revision_id;
     const revisionId = commentForm.revision_id;
     const comment = commentForm.comment;
     const comment = commentForm.comment;
     const position = commentForm.comment_position || -1;
     const position = commentForm.comment_position || -1;
-    const isMarkdown = false;
+    const isMarkdown = false; // comment is always not markdown (https://github.com/weseek/growi/pull/6096)
     const replyTo = commentForm.replyTo;
     const replyTo = commentForm.replyTo;
     const commentEvent = crowi.event('comment');
     const commentEvent = crowi.event('comment');
 
 
@@ -343,7 +343,7 @@ module.exports = function(crowi, app) {
     const { commentForm } = req.body;
     const { commentForm } = req.body;
 
 
     const commentStr = commentForm.comment;
     const commentStr = commentForm.comment;
-    const isMarkdown = false;
+    const isMarkdown = false; // comment is always not markdown (https://github.com/weseek/growi/pull/6096)
     const commentId = commentForm.comment_id;
     const commentId = commentForm.comment_id;
     const revision = commentForm.revision_id;
     const revision = commentForm.revision_id;