Skip to content

HTML API: Add set/get inner/outer functions - #10

Draft
dmsnell wants to merge 6 commits into
trunkfrom
html-api/add-comments-and-test-case
Draft

HTML API: Add set/get inner/outer functions#10
dmsnell wants to merge 6 commits into
trunkfrom
html-api/add-comments-and-test-case

Conversation

@dmsnell

Copy link
Copy Markdown
Owner

This will probably be split before merging. In the process of expanding some comments I discovered that the HTML Processor allows moving forward after finding unsupported HTML, and a new test was added to prevent this. Additionally, it reports a tag name after failing on unsupported HTML, which probably needs to be fixed in the Tag Processor, or through new logic in WP_HTML_Processor::get_tag() to refuse to return results if there's a parse failure. This could get complicated with reporting attributes and all.

@dmsnell
dmsnellforce-pushed the html-api/add-get-set-inner-outer-contents branch from 6698cd9 to 43db05fCompareAugust 14, 2023 14:51
@dmsnell
dmsnellforce-pushed the html-api/add-comments-and-test-case branch from 586b335 to c86eeb2CompareNovember 16, 2023 20:39
@dmsnell
dmsnellforce-pushed the html-api/add-get-set-inner-outer-contents branch from 43db05f to 79bf013CompareNovember 16, 2023 20:40
@dmsnell
dmsnell changed the base branch from html-api/add-get-set-inner-outer-contents to trunkNovember 16, 2023 20:54
@dmsnelldmsnell changed the title HTML API: add comments and test caseHTML API: Add set/get inner/outer functionsNov 16, 2023
Sign up for freeto 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.

1 participant

@dmsnell