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

fix: dereference structure element attributes #1169

Merged
merged 1 commit into from
Jul 14, 2024

Conversation

dhdaines
Copy link
Contributor

It may or may not be allowed in the PDF specification, but attributes of structure objects are sometimes references instead of simple strings/symbols. In that case structure tree extraction will crash in an unfortunate way. So this makes sure to dereference them if necessary!

@dhdaines dhdaines changed the base branch from stable to develop July 10, 2024 17:06
@jsvine
Copy link
Owner

jsvine commented Jul 14, 2024

Roger that, and thanks for describing the reasoning 👍

@jsvine jsvine merged commit fc1e671 into jsvine:develop Jul 14, 2024
5 checks passed
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