Skip to content

Commit d946de9

Browse files
authored
Merge pull request #20238 from timvandermeij/fix-freetext-permafail
Fix the rendering of XFA rich text in popup annotations
2 parents 2a93ade + f1f8ee4 commit d946de9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/display/annotation_layer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2494,7 +2494,7 @@ class PopupElement {
24942494
renderRichText(
24952495
{
24962496
html: this.#html || this.#contentsObj.str,
2497-
dir: this.#contentsObj.dir,
2497+
dir: this.#contentsObj?.dir,
24982498
className: "popupContent",
24992499
},
25002500
popup

0 commit comments

Comments
 (0)