summaryrefslogtreecommitdiff
path: root/tests/html_linenos_expected_output/table_cls_step_2_start_1_special_0_noanchor_nofilename.html
Commit message (Collapse)AuthorAgeFilesLines
* Stop the HTML formatter from emitting empty whitespace spans.Matthäus G. Chajdas2022-12-111-3/+3
|
* Improve whitespace handling in Python.Matthäus G. Chajdas2022-12-111-3/+3
| | | | | | | | | This triggers a new case in the HtmlFormatter, which emits an empty span at the end of the line for a new line, as those are removed by the split-by-parts code. This requires separate post-processing. Doesn't fix all whitespace issues with Python either, but we're done to 360 failing examples with that, from previously >400.
* Fix #632. (#2101)Matthäus G. Chajdas2022-04-241-4/+3
| | | | | | | | | | | | | | | | | | * Fix #632. The doc string indicates that the linenos table is wrapped in <div class="highlight">, but the actual implementation puts the <div> inside the table cell containing the code. This seems to cause issues as explained in #632, and given it doesn't match the documentation, this PR restores the original behavior. * Fix sample code in comment. * Update CHANGES. * Refactor the wrapping logic. Instead of calling _wrap_div() at the end of wrap(), _wrap_div() is now called after wrap/_wrap_tablinelinenos. This yields the desired behavior but removes the custom <div> generation code.
* Update HTML tests.Matthäus G. Chajdas2021-12-061-7/+3
| | | | | This includes a new structural diff which is more robust, as it handles changes like different attribute order.
* Regenerate HTML test files.Matthäus G. Chajdas2021-11-131-16/+8
|
* Filename to <th> if linenos=table (fixes #1757) (#1759)Andy Pearce2021-03-281-0/+19
* Filename to <th> if linenos=table (fixes #1757) * Emit `<th>` for `filename` if `linenos=table`. * Added test cases for filename inclusion. * Updated CHANGES