Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Aug 19, 2024
1 parent c1630cc commit 0ac08e3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/isodoc/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module IsoDoc
VERSION = "2.11.0".freeze
VERSION = "2.11.1".freeze
end
6 changes: 4 additions & 2 deletions spec/isodoc/figures_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -225,11 +225,13 @@
</body>
</html>
OUTPUT
expect(Xml::C14n.format(strip_guid(IsoDoc::PresentationXMLConvert.new(presxml_options)
expect(Xml::C14n.format(strip_guid(IsoDoc::PresentationXMLConvert
.new(presxml_options)
.convert("test", input, true).gsub(/&lt;/, "&#x3c;"))))
.to be_equivalent_to Xml::C14n.format(presxml)
expect(Xml::C14n.format(strip_guid(IsoDoc::HtmlConvert.new({})
.convert("test", presxml, true)))).to be_equivalent_to Xml::C14n.format(html)
.convert("test", presxml, true))))
.to be_equivalent_to Xml::C14n.format(html)
FileUtils.rm_rf "spec/assets/odf1.emf"
expect(Xml::C14n.format(strip_guid(IsoDoc::WordConvert.new({})
.convert("test", presxml, true)
Expand Down
12 changes: 8 additions & 4 deletions spec/isodoc/sourcecode_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,16 @@
</body>
</html>
OUTPUT
expect(Xml::C14n.format(strip_guid(IsoDoc::PresentationXMLConvert.new(presxml_options)
.convert("test", input, true)))).to be_equivalent_to Xml::C14n.format(presxml)
expect(Xml::C14n.format(strip_guid(IsoDoc::PresentationXMLConvert
.new(presxml_options)
.convert("test", input, true))))
.to be_equivalent_to Xml::C14n.format(presxml)
expect(Xml::C14n.format(IsoDoc::HtmlConvert.new({})
.convert("test", presxml, true))).to be_equivalent_to Xml::C14n.format(html)
.convert("test", presxml, true)))
.to be_equivalent_to Xml::C14n.format(html)
expect(Xml::C14n.format(IsoDoc::WordConvert.new({})
.convert("test", presxml, true))).to be_equivalent_to Xml::C14n.format(doc)
.convert("test", presxml, true)))
.to be_equivalent_to Xml::C14n.format(doc)
end

it "processes sourcecode with sourcecode highlighting" do
Expand Down

0 comments on commit 0ac08e3

Please sign in to comment.