Arelle / ixbrl-viewer

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.
Other
93 stars 57 forks source link

Show escaped values for non-textblock facts #644

Closed brettkail-wk closed 5 months ago

brettkail-wk commented 5 months ago

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 as a&b and c&d, not a&b and c&d.

review: @Arelle/arelle @paulwarren-wk

aviary3-wk commented 5 months ago

Security Insights

No security relevant content was detected by automated scans.

Action Items