diff options
author | Andrey Mazo <ahippo@yandex.com> | 2021-10-15 02:29:02 +0300 |
---|---|---|
committer | Andrey Mazo <ahippo@yandex.com> | 2021-10-15 02:40:31 +0300 |
commit | b3bce77b48deab208016a3a0985bc9eb151c35bd (patch) | |
tree | 32018d9865ef7b69ceed67581f1d025bf849761c /doc/development/tutorials/examples/autodoc_intenum.py | |
parent | 56f97d71a2b1733ebf401d357a634e2d7e4c896e (diff) | |
download | sphinx-git-b3bce77b48deab208016a3a0985bc9eb151c35bd.tar.gz |
LaTeX: fix '\raggedright' escaping causing "aggedright" text
Sphinx version 4.0 introduced a bug in handling hlists in its LaTeX backend.
Due to improper backslash escaping,
LaTeX "\raggedright" command gets written as
Carriage Return character (0x0D) followed by "aggedright".
This results in stray "aggedright" text appearing in the resulting PDF
and lack of effect \raggedright was supposed to achieve.
Fix this by converting the remaining string to a raw string.
This appears to be the only occurrence of such a missing escaping
based on a quick grep.
Fixes #9734.
Fixes: 20884bb0c9f7: "refactor: LaTeX: Use raw strings for LaTeX macros"
Diffstat (limited to 'doc/development/tutorials/examples/autodoc_intenum.py')
0 files changed, 0 insertions, 0 deletions