Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Jun 3, 2024
1 parent 23d77c4 commit 3f83bc5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/metanorma/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Metanorma
VERSION = "1.7.7".freeze
VERSION = "2.0.0".freeze
end
7 changes: 5 additions & 2 deletions spec/compile_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,8 @@ def ruby(x)
.to be_equivalent_to xmlpp(<<~OUTPUT)
<svgmap><figure>
<image src="" mimetype="image/svg+xml" height="auto" width="auto">
<svg xmlns="http://www.w3.org/2000/svg">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1_000000000" x="0px" y="0px" viewBox="0 0 595.28 841.89" style="enable-background:new 0 0 595.28 841.89;" xml:space="preserve">
<image style="overflow:visible;" width="1" height="1" xlink:href="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"/>
<a href="A">A</a>
<a href="B">B</a>
</svg>
Expand All @@ -681,7 +682,9 @@ def ruby(x)
.at("//xmlns:svgmap[2]").to_xml))
.to be_equivalent_to xmlpp(<<~OUTPUT)
<svgmap><figure>
<image src="" mimetype="image/svg+xml" height="auto" width="auto"><svg xmlns="http://www.w3.org/2000/svg">
<image src="" mimetype="image/svg+xml" height="auto" width="auto">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1_000000000" x="0px" y="0px" viewBox="0 0 595.28 841.89" style="enable-background:new 0 0 595.28 841.89;" xml:space="preserve">
<image style="overflow:visible;" width="1" height="1" xlink:href="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"/>
<a href="P">P</a>
</svg></img>
</figure><target href="P"><eref bibitemid="#{m[1]}_P" type="#{m[1]}">P<localityStack><locality type="anchor"><referenceFrom>P</referenceFrom></locality></localityStack></eref></target></svgmap>
Expand Down
8 changes: 5 additions & 3 deletions spec/fixtures/test_sectionsplit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,18 @@
<note id="N1"><p><eref bibitemid="R1">SHE</xref></p></note>
<note id="N2"><p><eref bibitemid="R1"><image src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"/></xref></p></note>
<svgmap>
<figure>
<svg xmlns="http://www.w3.org/2000/svg">
<figure>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1_000000000" x="0px" y="0px" viewBox="0 0 595.28 841.89" style="enable-background:new 0 0 595.28 841.89;" xml:space="preserve">
<image style="overflow:visible;" width="1" height="1" xlink:href='data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7'/>
<a href="#A">A</a>
<a href="#B">B</a>
</svg>
<target href="B"><eref bibitemid="R1"/></target>
</figure>
</svgmap>
<figure>
<svg xmlns="http://www.w3.org/2000/svg">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1_000000000" x="0px" y="0px" viewBox="0 0 595.28 841.89" style="enable-background:new 0 0 595.28 841.89;" xml:space="preserve">
<image style="overflow:visible;" width="1" height="1" xlink:href='data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7'/>
<a href="#P">P</a>
</svg>
</figure>
Expand Down

0 comments on commit 3f83bc5

Please sign in to comment.