Skip to content

Skip rdfParse if script content is empty#693

Open
csarven wants to merge 1 commit intolinkeddata:mainfrom
csarven:fix/script-textcontent-parsing
Open

Skip rdfParse if script content is empty#693
csarven wants to merge 1 commit intolinkeddata:mainfrom
csarven:fix/script-textcontent-parsing

Conversation

@csarven
Copy link
Copy Markdown
Member

@csarven csarven commented Jun 29, 2025

May be sufficient to resolve #692 . There should be better checks before committing to parse, e.g., type=text/html and application/xhtml+xml in a script block is not particularly common.

@csarven csarven force-pushed the fix/script-textcontent-parsing branch from 562451d to 0b70b58 Compare June 29, 2025 20:44
@jeswr
Copy link
Copy Markdown
Contributor

jeswr commented Jul 29, 2025

@csarven does this still need merging? @doriantaylor do you have a test case you can add?

@doriantaylor
Copy link
Copy Markdown

I didn't originally but I could I suppose; is there a guideline for adding tests somewhere?

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fetching data islands in RDFa too zealous

4 participants