Skip to content

Commit b2a204f

Browse files
committed
Merge branch 'master' into update-dependencies
2 parents 1070d7f + d9a4621 commit b2a204f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/html/pipeline/@mention_filter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def self.mentioned_logins_in(text, username_pattern = UsernamePattern)
6565
].freeze
6666

6767
# Don't look for mentions in text nodes that are children of these elements
68-
IGNORE_PARENTS = %w[pre code a style].to_set
68+
IGNORE_PARENTS = %w(pre code a style script).to_set
6969

7070
def call
7171
result[:mentioned_usernames] ||= []

0 commit comments

Comments
 (0)