about summary refs log tree commit diff
path: root/spec/lib
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-07-19 19:02:05 +0200
committerThibaut Girka <thib@sitedethib.com>2019-07-19 19:16:07 +0200
commit3407ae8683b36fd3514aa518b5b1634d0e88d0c7 (patch)
tree6c10789dcad411ebf120a294a5db933993729094 /spec/lib
parent490cf3aa034ce89c50683ae2eb57339415038f35 (diff)
Fix sanitizer text case for glitch-soc, which preserves lists
Diffstat (limited to 'spec/lib')
-rw-r--r--spec/lib/sanitize_config_spec.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/lib/sanitize_config_spec.rb b/spec/lib/sanitize_config_spec.rb
index faefac803..c5143bcef 100644
--- a/spec/lib/sanitize_config_spec.rb
+++ b/spec/lib/sanitize_config_spec.rb
@@ -14,9 +14,5 @@ describe Sanitize::Config do
     it 'keeps ul' do
       expect(Sanitize.fragment('<p>Check out:</p><ul><li>Foo</li><li>Bar</li></ul>', subject)).to eq '<p>Check out:</p><ul><li>Foo</li><li>Bar</li></ul>'
     end
-
-    it 'keep links in lists' do
-      expect(Sanitize.fragment('<p>Check out:</p><ul><li><a href="https://joinmastodon.org" rel="nofollow noopener" target="_blank">joinmastodon.org</a></li><li>Bar</li></ul>', subject)).to eq '<p>Check out:</p><p><a href="https://joinmastodon.org" rel="nofollow noopener" target="_blank">joinmastodon.org</a><br>Bar</p>'
-    end
   end
 end