Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Mar 27, 2023
1 parent d1d0ab5 commit a3422fa
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 15 deletions.
2 changes: 1 addition & 1 deletion lib/metanorma/iec/version.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module Metanorma
module Iec
VERSION = "2.2.6".freeze
VERSION = "2.2.7".freeze
end
end

39 changes: 25 additions & 14 deletions spec/isodoc/section_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -441,24 +441,35 @@
</iso-standard>
INPUT
output = <<~OUTPUT
<body lang='EN-US' link='blue' vlink='#954F72'>
<div class='WordSection1'>
<p>&#xa0;</p>
</div>
<p>
<br clear='all' class='section'/>
</p>
<div class='WordSection2'>
<p>&#xa0;</p>
<body lang="EN-US" link="blue" vlink="#954F72">
<div class="WordSection2">
<p>
<br clear="all" style="mso-special-character:line-break;page-break-before:always"/>
</p>
<p class="zzSTDTitle1">INTERNATIONAL ELECTROTECHNICAL COMMISSION</p>
<p class="zzSTDTitle1">____________</p>
<p class="zzSTDTitle1"> </p>
<p class="zzSTDTitle1">
<b/>
</p>
<p class="zzSTDTitle1"> </p>
<div id="">
<h1 class="ForewordTitle">FOREWORD</h1>
<div class="boilerplate_legal"/>
</div>
<p> </p>
</div>
<p>
<br clear='all' class='section'/>
<br clear="all" class="section"/>
</p>
<div class='WordSection3'>
<p class='zzSTDTitle'/>
<div class="WordSection3">
<p class="zzSTDTitle1">
<b/>
</p>
<p class="zzSTDTitle1"> </p>
</div>
<br clear='all' style='page-break-before:left;mso-break-type:section-break'/>
<div class='colophon'/>
<br clear="all" style="page-break-before:left;mso-break-type:section-break"/>
<div class="colophon"/>
</body>
OUTPUT
expect(xmlpp(IsoDoc::Iec::WordConvert.new({}).convert("test", input, true)
Expand Down

0 comments on commit a3422fa

Please sign in to comment.