2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-05 08:59:27 +08:00

Pass the full CommonMark spec

This commit is contained in:
Sam 2017-07-21 13:20:45 -04:00
parent aa5b8a5749
commit e1ce47a901
6 changed files with 84 additions and 69 deletions

View file

@ -165,6 +165,7 @@ module PrettyText
__optInput.customEmoji = #{custom_emoji.to_json};
__optInput.emojiUnicodeReplacer = __emojiUnicodeReplacer;
__optInput.lookupInlineOnebox = __lookupInlineOnebox;
#{opts[:linkify] == false ? "__optInput.linkify = false;": ""}
JS
if opts[:topicId]