spec/isodoc/table_spec.rb in isodoc-0.9.22 vs spec/isodoc/table_spec.rb in isodoc-0.9.23
- old
+ new
@@ -4,11 +4,11 @@
it "processes IsoXML tables" do
expect(IsoDoc::HtmlConvert.new({}).convert("test", <<~"INPUT", true)).to be_equivalent_to <<~"OUTPUT"
<iso-standard xmlns="http://riboseinc.com/isoxml">
<preface>
<foreword>
- <table id="tableD-1">
+ <table id="tableD-1" alt="tool tip">
<name>Repeatability and reproducibility of <em>husked</em> rice yield</name>
<thead>
<tr>
<td rowspan="2" align="left">Description</td>
<td colspan="4" align="center">Rice sample</td>
@@ -62,11 +62,11 @@
#{HTML_HDR}
<br/>
<div>
<h1 class="ForewordTitle">Foreword</h1>
<p class="TableTitle" align="center">Table 1 — Repeatability and reproducibility of <i>husked</i> rice yield</p>
- <table id="tableD-1" class="MsoISOTable" border="1" cellspacing="0" cellpadding="0">
+ <table id="tableD-1" class="MsoISOTable" border="1" cellspacing="0" cellpadding="0" title="tool tip">
<thead>
<tr>
<td rowspan="2" align="left" style="border-top:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;">Description</td>
<td colspan="4" align="center" style="border-top:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;">Rice sample</td>
</tr>
@@ -125,11 +125,11 @@
it "processes IsoXML tables (Word)" do
expect(IsoDoc::WordConvert.new({}).convert("test", <<~"INPUT", true)).to be_equivalent_to <<~"OUTPUT"
<iso-standard xmlns="http://riboseinc.com/isoxml">
<preface>
<foreword>
- <table id="tableD-1">
+ <table id="tableD-1" alt="tool tip">
<name>Repeatability and reproducibility of husked rice yield</name>
<thead>
<tr>
<td rowspan="2" align="left">Description</td>
<td colspan="4" align="center">Rice sample</td>
@@ -191,10 +191,10 @@
<p><br clear="all" style="mso-special-character:line-break;page-break-before:always"/></p>
<div>
<h1 class="ForewordTitle">Foreword</h1>
<p class="TableTitle" align="center">Table 1 — Repeatability and reproducibility of husked rice yield</p>
<div align="center">
- <table style="mso-table-lspace:15.0cm;margin-left:423.0pt;mso-table-rspace:15.0cm;margin-right:423.0pt;mso-table-bspace:14.2pt;mso-table-anchor-vertical:paragraph;mso-table-anchor-horizontal:column;mso-table-overlap:never;" id="tableD-1" class="MsoISOTable" border="1" cellspacing="0" cellpadding="0">
+ <table style="mso-table-lspace:15.0cm;margin-left:423.0pt;mso-table-rspace:15.0cm;margin-right:423.0pt;mso-table-bspace:14.2pt;mso-table-anchor-vertical:paragraph;mso-table-anchor-horizontal:column;mso-table-overlap:never;" id="tableD-1" class="MsoISOTable" border="1" cellspacing="0" cellpadding="0" title="tool tip">
<thead>
<tr>
<td rowspan="2" align="left" style="border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;">Description</td>
<td colspan="4" align="center" style="border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;">Rice sample</td>
</tr>