Alex Alishevskikh created LUCENE-10520: ------------------------------------------
Summary: HTMLCharStripFilter fails on '>' or '<' characters in attribute values Key: LUCENE-10520 URL: https://issues.apache.org/jira/browse/LUCENE-10520 Project: Lucene - Core Issue Type: Bug Components: modules/analysis Reporter: Alex Alishevskikh Attachments: HTMLStripCharFilterTest.java If HTML input contains attributes with '<' or '>' characters in their values, HTMLCharStripFilter produces unexpected results. See the attached unit test for example. These characters are valid in attribute values, as by the [HTML5 specification |https://html.spec.whatwg.org/#syntax-attribute-value]. The [W3C validator|https://validator.w3.org/nu/#textarea] does not have issues with the test HTML. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org