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:
parent
aa5b8a5749
commit
e1ce47a901
6 changed files with 84 additions and 69 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue