Commit c42398f
committed
Fix nullpointer in KaTeX double-rendering
As described in #12259, Tippy.js popups on crossrefs failed if the
previewed entity contained KaTeX math elements. This seems to be
due to double rendering where the `data` attribute is unset on
the second pass. Just skipping the invocation of the KaTeX renderer
in these instances solves the issue.1 parent 40e447a commit c42398f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments