spec/isodoc/xref_spec.rb in isodoc-0.9.13 vs spec/isodoc/xref_spec.rb in isodoc-0.9.14
- old
+ new
@@ -39,11 +39,11 @@
</foreword>
</preface>
</iso-standard
INPUT
<div class="WordSection2">
- <br clear="all" style="mso-special-character:line-break;page-break-before:always"/>
+ <p><br clear="all" style="mso-special-character:line-break;page-break-before:always"/></p>
<div>
<h1 class="ForewordTitle">Foreword</h1>
<p>
<a href="a.doc#b">a#b</a>
</p>
@@ -1063,10 +1063,11 @@
<xref target="O"/>
<xref target="P"/>
<xref target="Q"/>
<xref target="Q1"/>
<xref target="R"/>
+ <xref target="S"/>
</p>
</foreword>
<introduction id="B" obligation="informative"><title>Introduction</title><clause id="C" inline-header="false" obligation="informative">
<title>Introduction Subsection</title>
</clause>
@@ -1140,9 +1141,10 @@
<a href="#O">Clause 5.2</a>
<a href="#P">Annex A</a>
<a href="#Q">Annex A.1</a>
<a href="#Q1">Annex A.1.1</a>
<a href="#R">Clause 2</a>
+ <a href="#S">Bibliography</a>
</p>
</div>
<br/>
<div class="Section3" id="B">
<h1 class="IntroTitle">Introduction</h1>