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

title element's abbrev attribute is ignored in the PDF output #544

Closed
ietf-svn-bot opened this issue Sep 4, 2020 · 3 comments
Closed

title element's abbrev attribute is ignored in the PDF output #544

ietf-svn-bot opened this issue Sep 4, 2020 · 3 comments

Comments

@ietf-svn-bot
Copy link

resolution_fixed type_defect | by arusso@amsl.com


PDF output doesn't contain the short title in the running header when abbrev attribute value contains a single quote. (Removing the single quotes resolves the issue.)

    <title abbrev="The 'payto' URI Scheme">                                     
      The 'payto' URI Scheme for Payments                                       
    </title>

xml2rfc --pdf --verbose shows:
WARNING:weasyprint:Ignored content: "The "payto" URI Scheme" at 26:7, invalid value.

Files:
https://www.rfc-editor.org/v3test/test8905.xml
https://www.rfc-editor.org/v3test/test8905.pdf


Issue migrated from trac:544 at 2022-02-08 07:09:28 +0000

@ietf-svn-bot
Copy link
Author

@henrik@levkowetz.com changed status from new to closed

@ietf-svn-bot
Copy link
Author

@henrik@levkowetz.com changed resolution from `` to fixed

@ietf-svn-bot
Copy link
Author

@henrik@levkowetz.com commented


Fixed in 92863da:

Added escaping of quotes in page footer and header components to avoid issues when building quoted CSS content strings from the components. Fixes issue #544.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant