diff options
author | Matthäus G. Chajdas <Anteru@users.noreply.github.com> | 2021-02-12 20:40:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-12 20:40:15 +0100 |
commit | efd9aa5a955fd512fcf9d1980f206f795cea9075 (patch) | |
tree | 68062e12525d93206c51a2989d9285e45842fc90 /pygments/lexers/_postgres_builtins.py | |
parent | aa0c35b640ae45714dccf9af3214f1550b5ae20f (diff) | |
download | pygments-git-efd9aa5a955fd512fcf9d1980f206f795cea9075.tar.gz |
Fix/1698 lineos wrapping (#1701)
* Fix #1698.
* Change default line number styling.
Instead of hardcoding black/light gray, use transparent/inherit which
makes it "neutral" out of the box. linenospecial is still hard-coded and
may look wrong, but that needs fixing in the style.
* Prettify the test files.
* Fix incorrect wrapping of TD linenos.
The padding would get applied twice to "special" lines, once via
<pre>, once via the <span>, which was not consistent with inline
line numbers where the .special style would override the default
style.
To fix this, we now emit "normal" and "special" lines for td.linenos
line numbers, and the normal style is applied to "normal". This brings
td.linenos closer to inline line numbers, and also makes the styling
between noclasses=True and noclasses=False consistent.
* Document the line number styling changes.
Diffstat (limited to 'pygments/lexers/_postgres_builtins.py')
0 files changed, 0 insertions, 0 deletions