Skip to content

fix: escaping PDF Object Names (space in spot color name fix)#1716

Open
tr1stan wants to merge 2 commits intofoliojs:masterfrom
tr1stan:fix/escape-spaces-in-spot-colors
Open

fix: escaping PDF Object Names (space in spot color name fix)#1716
tr1stan wants to merge 2 commits intofoliojs:masterfrom
tr1stan:fix/escape-spaces-in-spot-colors

Conversation

@tr1stan
Copy link
Copy Markdown
Contributor

@tr1stan tr1stan commented Apr 10, 2026

What kind of change does this PR introduce?
Bug fix, making sure we're not sending un-escaped chars to the PDF object name.
Fixes: #1644

Checklist:

  • Unit Tests
  • Documentation N/A
  • Update CHANGELOG.md
  • Ready to be merged

Having traced where the .convert( method is being used, this is the easiest way to get the fix in, happy to look at alternatives if we feel it's too broad.

@blikblum
Copy link
Copy Markdown
Member

Thanks. I will take a look. We should escape the minimal places so the chance to regression is smaller

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.

Spot colors with spaces does not work

2 participants