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 95a773e commit d3a8969Copy full SHA for d3a8969
spec/helpers/better_together/content_helper_spec.rb
@@ -13,10 +13,10 @@ module BetterTogether
13
end
14
15
it 'allows permitted markup' do
16
- input = "<p><strong>Bold</strong> and <a href=\"https://example.com\">link</a></p>"
+ input = '<p><strong>Bold</strong> and <a href="https://example.com">link</a></p>'
17
output = helper.safe_html(input)
18
expect(output).to include('<strong>Bold</strong>')
19
- expect(output).to include('<a href=\"https://example.com\">link</a>')
+ expect(output).to include('<a href="https://example.com">link</a>')
20
21
22
it 'allows youtube iframes' do
0 commit comments