spec/isodoc/blocks_spec.rb in isodoc-1.0.14 vs spec/isodoc/blocks_spec.rb in isodoc-1.0.15
- old
+ new
@@ -367,12 +367,12 @@
<pre id='X' class='prettyprint '>
<br/>
 
<br/>
 
- <p class='SourceTitle' style='text-align:center;'>Sample</p>
</pre>
+ <p class='SourceTitle' style='text-align:center;'>Sample</p>
</div>
</div>
<p class="zzSTDTitle1"/>
</div>
</body>
@@ -438,11 +438,12 @@
INPUT
#{HTML_HDR}
<br/>
<div>
<h1 class="ForewordTitle">Foreword</h1>
- <pre id="samplecode" class="prettyprint lang-rb"><br/>    <br/>  puts x<br/><p class="SourceTitle" style="text-align:center;">Figure 1 — Ruby <i>code</i></p></pre>
+ <pre id="samplecode" class="prettyprint lang-rb"><br/>    <br/>  puts x<br/></pre>
+ <p class="SourceTitle" style="text-align:center;">Figure 1 — Ruby <i>code</i></p>
<pre class='prettyprint '>
<br/>
Que?
<br/>
</pre>
@@ -516,11 +517,12 @@
INPUT
#{HTML_HDR}
<br/>
<div>
<h1 class="ForewordTitle">Foreword</h1>
- <pre id="samplecode" class="prettyprint "><br/>    <br/>  <xml><br/><p class="SourceTitle" style="text-align:center;">Figure 1 — XML code</p></pre>
+ <pre id="samplecode" class="prettyprint "><br/>    <br/>  <xml><br/></pre>
+ <p class="SourceTitle" style="text-align:center;">Figure 1 — XML code</p>
</div>
<p class="zzSTDTitle1"/>
</div>
</body>
</html>
@@ -545,10 +547,11 @@
#{HTML_HDR}
<br/>
<div>
<h1 class="ForewordTitle">Foreword</h1>
<pre id="_" class="prettyprint ">puts "Hello, world." <1><br/>   %w{a b c}.each do |x|<br/>     puts x <2><br/>   end<br/><br/><1> This is one callout<br/><2> This is another callout</pre>
+ <p class='SourceTitle' style='text-align:center;'>Figure 1</p>
</div>
<p class="zzSTDTitle1"/>
</div>
</body>
</html>
@@ -1104,11 +1107,11 @@
<h1 class='ForewordTitle'>Foreword</h1>
<div class='example'>
<p class='example-title'>EXAMPLE</p>
<pre id='B' class='prettyprint '>
A B C
- <p class='SourceTitle' style='text-align:center;'>Label</p>
</pre>
+ <p class='SourceTitle' style='text-align:center;'>Label</p>
<div id='A' class='pseudocode'>
<p id='_'>
  
<b>A</b>
</p>