Skip to content

Commit

Permalink
Update HTML fixture for python3
Browse files Browse the repository at this point in the history
The README.rst fixture had a test that was python2-specific, it asserted
that a segment of markup would be dropped from the output for containing
UTF-8 chars.  That's no longer true, so we can update the fixture
accordingly.
  • Loading branch information
Carl Brasic committed Mar 30, 2021
1 parent 935ee3b commit 9899397
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions test/markups/README.rst.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,47 @@ <h2><a href="#id1">Header 2</a></h2>
<li>Somé UTF-8°</li>
</ol>
<p>The UTF-8 quote character in this table used to cause python to go boom. Now docutils just silently ignores it.</p>
<table>
Things that are Awesome (on a scale of 1-11)




<tbody valign="top">
<tr>
<td>Thing</td>
<td>Awesomeness</td>
</tr>
<tr>
<td>Icecream</td>
<td>7</td>
</tr>
<tr>
<td>Honey Badgers</td>
<td>10.5</td>
</tr>
<tr>
<td>Nickelback</td>
<td>-2</td>
</tr>
<tr>
<td>Iron Man</td>
<td>10</td>
</tr>
<tr>
<td>Iron Man 2</td>
<td>3</td>
</tr>
<tr>
<td>Tabular Data</td>
<td>5</td>
</tr>
<tr>
<td>Made up ratings</td>
<td>11</td>
</tr>
</tbody>
</table>
<pre>
A block of code
</pre>
Expand Down

0 comments on commit 9899397

Please sign in to comment.