Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Nov 29, 2021
1 parent f082f5a commit dfa96a6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/metanorma/cc/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Metanorma
module CC
VERSION = "1.8.2".freeze
VERSION = "1.8.3".freeze
end
end
2 changes: 1 addition & 1 deletion spec/isodoc/base_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
<terms id="H" obligation="normative"><title>1.<tab/>Terms, Definitions, Symbols and Abbreviated Terms</title>
<term id="J">
<name>1.1.</name>
<preferred><expression><name>Term2</name></expression></preferred>
<preferred><strong>Term2</strong></preferred>
</term>
</terms>
</sections>
Expand Down
7 changes: 5 additions & 2 deletions spec/metanorma/processor_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,16 @@
end

it "generates IsoDoc XML from a blank document" do
expect(xmlpp(strip_guid(processor.input_to_isodoc(<<~"INPUT", nil)))).to be_equivalent_to xmlpp(<<~"OUTPUT")
input = <<~INPUT
#{ASCIIDOC_BLANK_HDR}
INPUT
output = <<~OUTPUT
#{BLANK_HDR}
<sections/>
</csd-standard>
OUTPUT
expect(xmlpp(strip_guid(processor.input_to_isodoc(input, nil))))
.to be_equivalent_to xmlpp(output)
end

it "generates HTML from IsoDoc XML" do
Expand All @@ -51,7 +54,7 @@
<p class="zzSTDTitle1"></p>
<div id="H">
<h1 id="toc0">1.&#xA0; Terms, Definitions, Symbols and Abbreviated Terms</h1>
<h2 class="TermNum" id="J">1.1.&#xA0;<p class="Terms" style="text-align:left;">Term2</p></h2>
<p class='Terms' style='text-align:left;' id='J'><strong>1.1.</strong>&#xA0;Term2</p>
</div>
</main>
OUTPUT
Expand Down

0 comments on commit dfa96a6

Please sign in to comment.