-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[Discover][Field Formatter] Truncated string format strips HTML/XML tags from field values #257948
Copy link
Copy link
Closed
Bug
Copy link
Labels
Feature:DiscoverDiscover ApplicationDiscover ApplicationTeam:DataDiscoveryDiscover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t//Discover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t//bugFixes for quality problems that affect the customer experienceFixes for quality problems that affect the customer experienceimpact:highAddressing this issue will have a high level of impact on the quality/strength of our product.Addressing this issue will have a high level of impact on the quality/strength of our product.loe:smallSmall Level of EffortSmall Level of Effortregression
Metadata
Metadata
Assignees
Labels
Feature:DiscoverDiscover ApplicationDiscover ApplicationTeam:DataDiscoveryDiscover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t//Discover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t//bugFixes for quality problems that affect the customer experienceFixes for quality problems that affect the customer experienceimpact:highAddressing this issue will have a high level of impact on the quality/strength of our product.Addressing this issue will have a high level of impact on the quality/strength of our product.loe:smallSmall Level of EffortSmall Level of Effortregression
Type
Fields
Give feedbackNo fields configured for Bug.
Kibana version:
9.3.1
Describe the bug:
When the Truncated string field format is applied to a field containing XML or HTML-like content, all angle-bracket tags (e.g.
<element>,<ns:element>) are stripped from the rendered output in Discover. Only the text content between tags is displayed.This is a regression introduced in 9.3.1 by #251892, which was backported to the 9.3 branch via 60e4862.
The issue does not occur on 9.3.0.
Steps to reproduce:
Expected behavior:
Truncate the field, with previous versions.
Screenshots (if relevant):
see above
Provide logs and/or server output (if relevant):
Any additional context: