spec/macros/html5_spec.rb in glyph-0.4.2 vs spec/macros/html5_spec.rb in glyph-0.5.0
- old
+ new
@@ -74,14 +74,13 @@
end
it "figure (html5)" do
interpret "figure[@alt[ligature]ligature.jpg|Ligature]"
@p.document.output.gsub(/\t|\n/, '').should == %{
- <figure>
- <img src="images/ligature.jpg" alt="ligature" />
- <figcaption>Ligature</figcaption>
- </figure>
- }.gsub(/\n|\t/, '')
+ <figure alt=\"ligature\">
+ <img src=\"images/ligature.jpg\" />
+ <figcaption>Ligature</figcaption>
+ </figure>}.gsub(/\n|\t/, '')
end
it "draftcomment, todo (html5)" do
text1 = "dc[comment!]"
text2 = "![todo!]"