Merge pull request #20238 from timvandermeij/fix-freetext-permafail

Fix the rendering of XFA rich text in popup annotations
This commit is contained in:
calixteman 2025-09-07 20:59:36 +02:00 committed by GitHub
commit d946de904c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2494,7 +2494,7 @@ class PopupElement {
renderRichText( renderRichText(
{ {
html: this.#html || this.#contentsObj.str, html: this.#html || this.#contentsObj.str,
dir: this.#contentsObj.dir, dir: this.#contentsObj?.dir,
className: "popupContent", className: "popupContent",
}, },
popup popup