Skip to content

Fix Floki.text/2 when document contains a "PI" tag#696

Merged
philss merged 1 commit into
mainfrom
ps-fix-deep-text-with-pi
May 21, 2026
Merged

Fix Floki.text/2 when document contains a "PI" tag#696
philss merged 1 commit into
mainfrom
ps-fix-deep-text-with-pi

Conversation

@philss
Copy link
Copy Markdown
Owner

@philss philss commented May 21, 2026

This is a fix for when a processing instruction is inside the document tree (like a XML declaration).

Fixes #695

This is a fix for when a processing instruction is inside the document
tree (like a XML declaration).

Fixes #695
@philss philss merged commit f9816ec into main May 21, 2026
6 checks passed
@philss philss deleted the ps-fix-deep-text-with-pi branch May 21, 2026 17:08
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.

Regression in 0.38.2: Floki.text/2 crashes on output of Floki.parse_fragment/1 when input contains a processing instruction

1 participant