cloudflare / cloudflare/lol-html

Should ignore '<' capture inside <script> tag

Open
#159 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2.1k
Forks
111
PR merge metrics
No merged PRs in 30d

Description

When using text!() to parse a tag, the current text capture will truncate the text with the '<' symbol. resulting in inability to obtain complete text

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue using text!() while parsing a element containing a '<' character. Inspect the parser path handling script text and verify that the complete script content is captured rather than truncated at '<'.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.