[
https://issues.apache.org/jira/browse/LUCENE-10520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Alishevskikh updated LUCENE-10520:
---------------------------------------
Fix Version/s: 9.1
> 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
> Priority: Major
> Labels: HTMLCharStripFilter
> Fix For: 9.1
>
> 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: [email protected]
For additional commands, e-mail: [email protected]