Skip to content

Fix encoding issues in PDF header#9

Merged
yllen merged 1 commit intoyllen:masterfrom
cedric-anne:bugfix/fix-header-encoding
Mar 31, 2022
Merged

Fix encoding issues in PDF header#9
yllen merged 1 commit intoyllen:masterfrom
cedric-anne:bugfix/fix-header-encoding

Conversation

@cedric-anne
Copy link
Copy Markdown
Contributor

When the main item contains < or > char in its name, or when it is located in a sub entity, &gt; or &lt; chars are displayed in the PDF header. This is due to the fact that PDF title and header data is handled as plain text by TCPDF.

Using Toolbox::unclean_cross_side_scripting_deep() will decode < and > chars and will prevent this issue.

@yllen yllen merged commit 233eed0 into yllen:master Mar 31, 2022
@cedric-anne cedric-anne deleted the bugfix/fix-header-encoding branch March 31, 2022 15:07
Rom1-B pushed a commit to Rom1-B/pdf that referenced this pull request Jan 16, 2025
* Fix ticket task picture visibility

* Fix Lints
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants