Page MenuHomePhabricator

Markup showing in references
Open, LowPublic

Description

Background

This issue was reported by user. Currently we are unable to render reference and notes in the popup correctly. We conducted a spike to see if we could use webviews in a similar way to how they are used for link previews T348095: [Spike] Evaluate best solution to enable use of webview for reference and notes pop-up.

Task

Hello,
I was reading the page on Fast inverse square root:
https://en.wikipedia.org/wiki/Fast_inverse_square_root?wprov=sfla1

and I noticed that when clicking on a note, the pop-up does not render the style markup. This is most noticable with the math markup.

The first screenshot shows how Note 2 is rendered in the pop-up window when clicking on it in the article, and the second screenshot shows it correctly rendered on the actual page at the bottom of the article.

If there is a limitation that the pop-up window can only display plain text, then stripping out some of the math markup may help it become more readable.

Thanks,

Screenshot_20230929-154056.png (1×864 px, 253 KB)

Screenshot_20230929-154114.png (1×864 px, 273 KB)