Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LaTeX: fix '\raggedright' escaping causing "aggedright" text #9737

Merged
merged 1 commit into from Oct 23, 2021
Merged

LaTeX: fix '\raggedright' escaping causing "aggedright" text #9737

merged 1 commit into from Oct 23, 2021

Commits on Oct 14, 2021

  1. 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: 20884bb: "refactor: LaTeX: Use raw strings for LaTeX macros"
    ahippo committed Oct 14, 2021
    Copy the full SHA
    b3bce77 View commit details
    Browse the repository at this point in the history