Skip to content
Snippets Groups Projects
Commit e090366f authored by Douwe Maan's avatar Douwe Maan
Browse files

Fix spec

parent bed60b8c
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment