Skip to content

HTML escape user-entered fields from JSON and ORE exports#8

Merged
pdurbin merged 8 commits intomainfrom
htmlfix
Mar 13, 2025
Merged

HTML escape user-entered fields from JSON and ORE exports#8
pdurbin merged 8 commits intomainfrom
htmlfix

Conversation

@qqmyers
Copy link
Copy Markdown
Member

@qqmyers qqmyers commented Mar 12, 2025

While the Schema.org export escapes output for HTML display, the JSON and ORE exporters and info from the data tables are not escaped for HTML display (as they are not embedded in pages.) The Croissant exporter should escape these fields.

@pdurbin
Copy link
Copy Markdown
Member

pdurbin commented Mar 13, 2025

@qqmyers I made some tweaks. Can you please take a look? If you're happy with it, I'm ready to merge it. Thanks.

Copy link
Copy Markdown
Member Author

@qqmyers qqmyers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine. I can't approve though because I started the PR.

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