spec/html2doc_spec.rb in html2doc-0.9.3 vs spec/html2doc_spec.rb in html2doc-0.9.4
- old
+ new
@@ -564,13 +564,15 @@
#{image_clean(word_body('<img src="test_files/cb7b0d19-891e-4634-815a-570d019d454c.png" width="400" height="388"></img>', '<div style="mso-element:footnote-list"/>'))}
#{image_clean(WORD_FTR3)}
OUTPUT
end
+=begin
it "warns about SVG" do
simple_body = '<img src="https://example.com/19160-6.svg">'
expect{ Html2Doc.process(html_input(simple_body), filename: "test") }.to output("https://example.com/19160-6.svg: SVG not supported\n").to_stderr
end
+=end
it "processes epub:type footnotes" do
simple_body = '<div>This is a very simple
document<a epub:type="footnote" href="#a1">1</a> allegedly<a epub:type="footnote" href="#a2">2</a></div>
<aside id="a1">Footnote</aside>