Skip to content

Commit 1070d7f

Browse files
committed
This broke reality
1 parent e146897 commit 1070d7f

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
@@ -71,7 +71,7 @@ def call
7171
result[:mentioned_usernames] ||= []
7272

7373
doc.search('.//text()').each do |node|
74-
content = node.text
74+
content = node.to_html
7575
next unless content.include?('@')
7676
next if has_ancestor?(node, IGNORE_PARENTS)
7777
html = mention_link_filter(content, base_url, info_url, username_pattern)

0 commit comments

Comments
 (0)