diff options
author | Reverite <github@reverite.sh> | 2019-05-23 22:22:54 -0700 |
---|---|---|
committer | Reverite <github@reverite.sh> | 2019-05-23 22:22:54 -0700 |
commit | 93492d29e36e2bed11a1a742e2e0750716df5062 (patch) | |
tree | e475c56449c2c7e478e629cadbff41c9bb2fee3d /app/lib/formatter.rb | |
parent | d873e4f3d5878a2b2800758cbe3b9c870c228d51 (diff) | |
parent | 72bf354e979a9b8c14c41bf34c47060d5ff4d232 (diff) |
Merge branch 'glitch' into production
Diffstat (limited to 'app/lib/formatter.rb')
-rw-r--r-- | app/lib/formatter.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/lib/formatter.rb b/app/lib/formatter.rb index a099ff728..8a2828bbf 100644 --- a/app/lib/formatter.rb +++ b/app/lib/formatter.rb @@ -137,8 +137,6 @@ class Formatter private def markdown_formatter - return @markdown_formatter if defined?(@markdown_formatter) - extensions = { autolink: true, no_intra_emphasis: true, @@ -163,7 +161,7 @@ class Formatter link_attributes: { target: '_blank', rel: 'nofollow noopener' }, }) - @markdown_formatter = Redcarpet::Markdown.new(renderer, extensions) + Redcarpet::Markdown.new(renderer, extensions) end def html_entities |