diff options
author | Jarka Kadlecova <jarka@gitlab.com> | 2017-01-20 13:28:40 +0300 |
---|---|---|
committer | Jarka Kadlecova <jarka@gitlab.com> | 2017-01-25 12:10:05 +0300 |
commit | 0c350b79395d6712c7c4fee649cdbd77aa4052cc (patch) | |
tree | 2899a67fbe65c29b84c35ab417dbec96913095c4 /lib | |
parent | bf708e55c2e6035b64861a1cda8bfe3d3b4a2105 (diff) |
address comments
Diffstat (limited to 'lib')
-rw-r--r-- | lib/banzai/filter/user_reference_filter.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/banzai/filter/user_reference_filter.rb b/lib/banzai/filter/user_reference_filter.rb index 8173f888062..1aa9355b256 100644 --- a/lib/banzai/filter/user_reference_filter.rb +++ b/lib/banzai/filter/user_reference_filter.rb @@ -28,6 +28,7 @@ module Banzai ref_pattern = User.reference_pattern ref_pattern_start = /\A#{ref_pattern}\z/ + nodes.each do |node| if text_node?(node) replace_text_when_pattern_matches(node, ref_pattern) do |content| |