summaryrefslogtreecommitdiff
path: root/tests/examplefiles/mcfunction
diff options
context:
space:
mode:
authorMatthäus G. Chajdas <Anteru@users.noreply.github.com>2022-04-24 14:56:11 +0200
committerGitHub <noreply@github.com>2022-04-24 14:56:11 +0200
commit992fa6c33cd61d32953f0cc00150875dce5c7bc4 (patch)
tree73c45c32d61e0fde02af0de20b2afb1d53fd5e59 /tests/examplefiles/mcfunction
parent29392ea678456a46d741e3f4f6e32b9e58b1c2cd (diff)
downloadpygments-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