spec/components/anchors_spec.rb in reverse_markdown-0.4.4 vs spec/components/anchors_spec.rb in reverse_markdown-0.4.5
- old
+ new
@@ -16,9 +16,10 @@
it { should include 'extra space after the [anchor](http://foobar.com).'}
it { should include 'But inline, [there](http://foobar.com) should be a space.'}
context "links to ignore" do
it { should include ' ignore anchor tags with no link text ' }
+ it { should include ' not ignore [ ![An Image](image.png) ](foo.html) anchor tags with images' }
it { should include ' pass through the text of internal jumplinks without treating them as links ' }
it { should include ' pass through the text of anchor tags with no href without treating them as links ' }
end
end
\ No newline at end of file