summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2018-02-15 13:41:55 +0000
committerDouwe Maan <douwe@gitlab.com>2018-02-15 13:41:55 +0000
commite090366f78add95ecda4032f2043b6037d082a01 (patch)
tree0603eabdc3a327f010bcd5c7973ef9f1f3b1472c /spec
parentbed60b8c47acd11569da7cf5dc5bdb545ac97784 (diff)
downloadgitlab-ce-e090366f78add95ecda4032f2043b6037d082a01.tar.gz
Diffstat (limited to 'spec')
-rw-r--r--spec/lib/banzai/filter/html_entity_filter_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/banzai/filter/html_entity_filter_spec.rb b/spec/lib/banzai/filter/html_entity_filter_spec.rb
index 43e85cbcb24..1d98fc0d5db 100644
--- a/spec/lib/banzai/filter/html_entity_filter_spec.rb
+++ b/spec/lib/banzai/filter/html_entity_filter_spec.rb
@@ -3,7 +3,7 @@ require 'spec_helper'
describe Banzai::Filter::HtmlEntityFilter do
include FilterSpecHelper
- let(:unescaped) { 'foo <strike attr="foo">&&amp;</strike>' }
+ let(:unescaped) { 'foo <strike attr="foo">&&amp;&</strike>' }
let(:escaped) { 'foo &lt;strike attr=&quot;foo&quot;&gt;&amp;&amp;amp;&amp;&lt;/strike&gt;' }
it 'converts common entities to their HTML-escaped equivalents' do