When selecting internal links to Wikipedia pages the mobile app automatically creates a popup that displays the first few lines of text of an article and an associated image if available. But if the first few lines contain the <math> tag the display does not handle it well as seen in the screenshot. This happens independent of the preferences of how math should be displayed of the user.
Description
Description
Related Objects
Related Objects
Event Timeline
Comment Actions
@Jdlrobson @phuedx This would be a good case to consider when writing/testing the new summary endpoint.
Comment Actions
Thanks for the ping, @Mholloway! I believe that the Formulae/MathML section of the spec covers this. This Page Previews client is certainly capable of rendering inline images. I'm guessing this isn't the case for the Android app.
We'll track what y'all discuss here so that it can be folded into the plain text previews part of the spec.
Comment Actions
Yep this is covered and already fixed in the new endpoint I've been working on:
Proof:
Comment Actions
OIC. I think I may have misunderstood the nature of the bug. The the Formulae/MathML section of the spec does indeed cover this as <math> tags will be stripped.