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.
1 parent e146897 commit 1070d7fCopy full SHA for 1070d7f
lib/html/pipeline/@mention_filter.rb
@@ -71,7 +71,7 @@ def call
71
result[:mentioned_usernames] ||= []
72
73
doc.search('.//text()').each do |node|
74
- content = node.text
+ content = node.to_html
75
next unless content.include?('@')
76
next if has_ancestor?(node, IGNORE_PARENTS)
77
html = mention_link_filter(content, base_url, info_url, username_pattern)
0 commit comments