diff options
Diffstat (limited to 'spec/lib/gitlab/string_regex_marker_spec.rb')
-rw-r--r-- | spec/lib/gitlab/string_regex_marker_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/string_regex_marker_spec.rb b/spec/lib/gitlab/string_regex_marker_spec.rb index 2b19edbe7f9..2ab1ccc447b 100644 --- a/spec/lib/gitlab/string_regex_marker_spec.rb +++ b/spec/lib/gitlab/string_regex_marker_spec.rb @@ -10,7 +10,7 @@ describe Gitlab::StringRegexMarker do subject do described_class.new(raw, rich).mark(/"[^"]+":\s*"(?<name>[^"]+)"/, group: :name) do |text, left:, right:| - %{<a href="#">#{text}</a>} + %{<a href="#">#{text}</a>}.html_safe end end @@ -26,7 +26,7 @@ describe Gitlab::StringRegexMarker do subject do described_class.new(raw, rich).mark(/<[a-z]>/) do |text, left:, right:| - %{<strong>#{text}</strong>} + %{<strong>#{text}</strong>}.html_safe end end |