Skip to content

Conversation

@Shangeeth29
Copy link

Problem
When using <optgroup> elements within <select> tags, the HTML sanitizer was incorrectly inserting extra <select> tags, producing invalid HTML.

Input:
My option

Broken Output
My option

Root Cause
Simple typo in HtmlElementTables.java

Fixes #358

Note
Similar behavior was observed with but is not included in this 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