Commit a72074a2 authored by Liang's avatar Liang
parent 9625930a
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
* *
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a> * @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a> * @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.5.0.0, Mar 15, 2018 * @version 1.5.1.0, Jul 8, 2018
*/ */
Util.processClipBoard = function (text, cm) { Util.processClipBoard = function (text, cm) {
...@@ -267,6 +267,7 @@ admin.editors.CodeMirror = { ...@@ -267,6 +267,7 @@ admin.editors.CodeMirror = {
}, },
success: function (result, textStatus) { success: function (result, textStatus) {
$('#' + conf.id).parent().find('.CodeMirror-preview').html(result.html); $('#' + conf.id).parent().find('.CodeMirror-preview').html(result.html);
Util.parseMarkdown('content-reset');
hljs.initHighlighting.called = false; hljs.initHighlighting.called = false;
hljs.initHighlighting(); hljs.initHighlighting();
} }
......
This diff is collapsed.
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
</div> </div>
</#if> </#if>
</div><!--end comtop--> </div><!--end comtop-->
<div class="combody"> <div class="combody article-body">
<p>${comment.commentContent}</p> <p>${comment.commentContent}</p>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment