diff options
Diffstat (limited to 'lib/redmine/acts/mentionable.rb')
-rw-r--r-- | lib/redmine/acts/mentionable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/acts/mentionable.rb b/lib/redmine/acts/mentionable.rb index f8332637e..d0d33ddf7 100644 --- a/lib/redmine/acts/mentionable.rb +++ b/lib/redmine/acts/mentionable.rb @@ -86,7 +86,7 @@ module Redmine case text_formatting when 'textile' content = content.gsub(%r{<pre>(.*?)</pre>}m, '') - when 'markdown', 'common_mark' + when 'common_mark' content = content.gsub(%r{(~~~|```)(.*?)(~~~|```)}m, '') end |