Skip to content

Commit

Permalink
Merge pull request #319 from metanorma/fix/i18n-yaml-inheritance
Browse files Browse the repository at this point in the history
rspec
  • Loading branch information
opoudjis authored Nov 30, 2023
2 parents 806552f + 24a8b98 commit 1208598
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile.devel
Original file line number Diff line number Diff line change
@@ -1 +1 @@
gem "isodoc", git: "https://github.com/metanorma/isodoc", branch: "fix/i18n-yaml-inheritance"
gem "isodoc", git: "https://github.com/metanorma/isodoc", branch: "main"
12 changes: 11 additions & 1 deletion lib/metanorma/ieee/isodoc.rng
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
these elements; we just want one namespace for any child grammars
of this.
-->
<!-- VERSION v1.2.8 -->
<!-- VERSION v1.2.9 -->
<grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<include href="reqt.rng"/>
<include href="basicdoc.rng">
Expand Down Expand Up @@ -1958,6 +1958,16 @@
<data type="boolean"/>
</attribute>
</optional>
<optional>
<attribute name="type">
<choice>
<value>letter</value>
<value>symbol</value>
<value>formula</value>
<value>equation</value>
</choice>
</attribute>
</optional>
<element name="name">
<oneOrMore>
<choice>
Expand Down
2 changes: 1 addition & 1 deletion spec/isodoc/section_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@
OUTPUT
html = <<~OUTPUT
<div id='boilerplate-participants'>
<h1 class='IntroTitle' id="_">Participants</h1>
<h1 class='IntroTitle'>Participants</h1>
<div id='boilerplate-participants-wg'>
<p id='_'>
At the time this draft Standard was completed, the Working Group had the
Expand Down

0 comments on commit 1208598

Please sign in to comment.