[go: up one dir, main page]

Menu

Commit [r9970]  Maximize  Restore  History

Fix recursion in `nodes.Element.get_language_code()`.

Because of a typo, `Element.get_language_code()` did not find language
tags in parent elements but just return the fallback value.

Thanks to Marcello Perathoner for the report.
http://permalink.gmane.org/gmane.text.docutils.devel/10544

milde 2024-10-26

changed /trunk/docutils/HISTORY.rst
changed /trunk/docutils/docutils/nodes.py
changed /trunk/docutils/test/test_nodes.py