A platform for community discussion. Free, open, simple.
DEV: Remove redundant lines of code.
Alan Guo Xiang Tan85e124bae1c8
diff --git a/app/assets/javascripts/pretty-text/addon/pretty-text.js b/app/assets/javascripts/pretty-text/addon/pretty-text.jsindex 14c5a77d111..89c9211a371 100644--- a/app/assets/javascripts/pretty-text/addon/pretty-text.js+++ b/app/assets/javascripts/pretty-text/addon/pretty-text.js@@ -41,15 +41,11 @@ export function buildOptions(state) {watchedWordsLink,} = state;+ // These are markdown-it rules defined in https://github.com/markdown-it/markdown-it#manage-rules.let features = {"bold-italics": true,"auto-link": true,- mentions: true,- bbcode: true,- quote: true,html: true,- "category-hashtag": true,- onebox: true,linkify: linkify !== false,newline: !siteSettings.traditional_markdown_linebreaks,};