diff options
| author | Matthäus G. Chajdas <Anteru@users.noreply.github.com> | 2022-04-24 14:56:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-24 14:56:11 +0200 |
| commit | 992fa6c33cd61d32953f0cc00150875dce5c7bc4 (patch) | |
| tree | 73c45c32d61e0fde02af0de20b2afb1d53fd5e59 /tests/examplefiles/mcfunction | |
| parent | 29392ea678456a46d741e3f4f6e32b9e58b1c2cd (diff) | |
| download | pygments-git-992fa6c33cd61d32953f0cc00150875dce5c7bc4.tar.gz | |
Fix #632. (#2101)
* 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.
Diffstat (limited to 'tests/examplefiles/mcfunction')
0 files changed, 0 insertions, 0 deletions
