We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1070d7f + d9a4621 commit b2a204fCopy full SHA for b2a204f
lib/html/pipeline/@mention_filter.rb
@@ -65,7 +65,7 @@ def self.mentioned_logins_in(text, username_pattern = UsernamePattern)
65
].freeze
66
67
# Don't look for mentions in text nodes that are children of these elements
68
- IGNORE_PARENTS = %w[pre code a style].to_set
+ IGNORE_PARENTS = %w(pre code a style script).to_set
69
70
def call
71
result[:mentioned_usernames] ||= []
0 commit comments