bug in nodes.get_language_code
Marcello Perathoner <[email protected]> Wed, 23 Oct 2024 11:09:46 +0200
| Newsgroups | gmane.text.docutils.devel |
|---|---|
| Message-ID | <[email protected]> |
There is a bug in function nodes.get_language_code. It is supposed to recursively call itself, but it calls another function instead. The failure is masked by an overly general try...except block. https://github.com/docutils/docutils/blob/ceb8eb76a21da5553017bedb9eca8bb18ebde57f/docutils/docutils/nodes.py#L836 mfg -- Marcello Perathoner [email protected] To be or not to be == True