<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pygments-git.git/pygments/formatters/html.py, branch 2382-fix</title>
<subtitle>github.com: pygments/pygments.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/'/>
<entry>
<title>Fix lots of missing encoding="utf-8" parameters</title>
<updated>2023-01-31T15:30:11+00:00</updated>
<author>
<name>Jean Abou Samra</name>
<email>jean@abou-samra.fr</email>
</author>
<published>2023-01-30T02:11:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=b69cae00b4a13cf306ec92d169b81c965a0865fc'/>
<id>b69cae00b4a13cf306ec92d169b81c965a0865fc</id>
<content type='text'>
Some of these are probably unnecessary (ASCII-only content), but it's
easier not to think about it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some of these are probably unnecessary (ASCII-only content), but it's
easier not to think about it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify the condition.</title>
<updated>2022-12-11T14:30:01+00:00</updated>
<author>
<name>Matthäus G. Chajdas</name>
<email>dev@anteru.net</email>
</author>
<published>2022-12-11T14:30:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=6765ec070fd73ba7bfa5ea464d4e720e61599f3a'/>
<id>6765ec070fd73ba7bfa5ea464d4e720e61599f3a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop the HTML formatter from emitting empty whitespace spans.</title>
<updated>2022-12-11T12:04:25+00:00</updated>
<author>
<name>Matthäus G. Chajdas</name>
<email>dev@anteru.net</email>
</author>
<published>2022-12-11T12:04:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=ba3a996637b87f22994da354f988a55ac88c7e6e'/>
<id>ba3a996637b87f22994da354f988a55ac88c7e6e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #632. (#2101)</title>
<updated>2022-04-24T12:56:11+00:00</updated>
<author>
<name>Matthäus G. Chajdas</name>
<email>Anteru@users.noreply.github.com</email>
</author>
<published>2022-04-24T12:56:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=992fa6c33cd61d32953f0cc00150875dce5c7bc4'/>
<id>992fa6c33cd61d32953f0cc00150875dce5c7bc4</id>
<content type='text'>
* Fix #632.

The doc string indicates that the linenos table is wrapped in &lt;div class="highlight"&gt;,
but the actual implementation puts the &lt;div&gt; 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 &lt;div&gt; generation code.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix #632.

The doc string indicates that the linenos table is wrapped in &lt;div class="highlight"&gt;,
but the actual implementation puts the &lt;div&gt; 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 &lt;div&gt; generation code.</pre>
</div>
</content>
</entry>
<entry>
<title>When using the HTML formatter with `linespans=foo`, `linenos=inline`, and `anchorlinenos=True`, (#2026)</title>
<updated>2022-01-31T20:59:04+00:00</updated>
<author>
<name>Maximilian Hils</name>
<email>github@maximilianhils.com</email>
</author>
<published>2022-01-31T20:59:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=b1edee0c8f736276a86e30d8edaed1f581e009d0'/>
<id>b1edee0c8f736276a86e30d8edaed1f581e009d0</id>
<content type='text'>
the generated anchor links should be `#foo-42` and not `#-42`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the generated anchor links should be `#foo-42` and not `#-42`.</pre>
</div>
</content>
</entry>
<entry>
<title>Happy new year.</title>
<updated>2022-01-25T06:36:28+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2022-01-25T06:36:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=ab4afd821aa41403f7a0b1e714112c40b2ad843b'/>
<id>ab4afd821aa41403f7a0b1e714112c40b2ad843b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Generate valid links if lineanchors but no linenos set (#2013)</title>
<updated>2021-12-31T18:51:31+00:00</updated>
<author>
<name>Chris Warrick</name>
<email>kwpolska@gmail.com</email>
</author>
<published>2021-12-31T18:51:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=346564d693117b8ebc9606511bc83627971c7ac2'/>
<id>346564d693117b8ebc9606511bc83627971c7ac2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a tooltips option to HtmlFormatter. (#1822)</title>
<updated>2021-12-28T17:12:45+00:00</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2021-12-28T17:12:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=34bf90dcfc8fc32fca8b84e4c56b2805fc0dd82f'/>
<id>34bf90dcfc8fc32fca8b84e4c56b2805fc0dd82f</id>
<content type='text'>
* Add a tooltips option to HtmlFormmater.

* Rename option tooltips to debug_token_types.

* Use explicit if block.

* Fix check.

* Document how to use the new debug_token_types option for the HTML formatter.

* Remove output redirection from example call.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add a tooltips option to HtmlFormmater.

* Rename option tooltips to debug_token_types.

* Use explicit if block.

* Fix check.

* Document how to use the new debug_token_types option for the HTML formatter.

* Remove output redirection from example call.</pre>
</div>
</content>
</entry>
<entry>
<title>Add links to lines with css-line numbers</title>
<updated>2021-11-26T12:50:02+00:00</updated>
<author>
<name>David Bold</name>
<email>dave@ipp.mpg.de</email>
</author>
<published>2021-11-26T12:50:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=b5dc79a786c61a77b8e1fbceea3497bfe31ae3ee'/>
<id>b5dc79a786c61a77b8e1fbceea3497bfe31ae3ee</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>encode `str` into `bytes` for `_lookup_ctag` argument; (#1724)</title>
<updated>2021-05-02T06:48:48+00:00</updated>
<author>
<name>Cyker Way</name>
<email>cykerway@gmail.com</email>
</author>
<published>2021-05-02T06:48:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=30cfa26201a27dee1f8e6b0d600cad1138e64507'/>
<id>30cfa26201a27dee1f8e6b0d600cad1138e64507</id>
<content type='text'>
check source code of `python-ctags` and `python-ctags3` to see what
argument type is expected (answer: `char *`);

guess this is python 2 legacy; but now it should work in python 3;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
check source code of `python-ctags` and `python-ctags3` to see what
argument type is expected (answer: `char *`);

guess this is python 2 legacy; but now it should work in python 3;</pre>
</div>
</content>
</entry>
</feed>
