The Arelle iXBRL Viewer allows Inline XBRL (or iXBRL) reports to be viewed interactively in a web browser. The viewer allows users to access the tagged XBRL data embedded in an iXBRL report.
Ideally, text block facts should always be parsed and rendered as HTML, and non-text-block concept types should always be rendered literally. We correctly only show rendered HTML for text block facts, but we incorrectly unescape non-text-block values when rendering the value inline.
Description of change
The readable value of a fact should be based on whether it's a text block, not whether it's escaped.
Steps to Test
The facts in p-2024-03-14-en.zip are using stringItemType and should be rendered as a&b and c&d, not a&b and c&d.
Reason for change
Ideally, text block facts should always be parsed and rendered as HTML, and non-text-block concept types should always be rendered literally. We correctly only show rendered HTML for text block facts, but we incorrectly unescape non-text-block values when rendering the value inline.
Description of change
The readable value of a fact should be based on whether it's a text block, not whether it's escaped.
Steps to Test
The facts in p-2024-03-14-en.zip are using
stringItemType
and should be rendered asa&b
andc&d
, nota&b
andc&d
.review: @Arelle/arelle @paulwarren-wk