Page MenuHomePhabricator

[BUG] Link preview for elliptic curve shows a small green box
Closed, DeclinedPublicBUG REPORT

Description

Steps:

  1. Go to Wile's proof of Fermat's last theorem article
  2. Tap on elliptic curve
  3. View the preview

Expected result:
Not sure it looks like there's a mathematic formula close to the opening text of the article

Actual result:
A small green box is present

Note - I have not found any other articles that are displaying this issue. I have found quite a few with different math in the previews, but only this article is showing the issue so far.

Screenshot_20180425-133944.png (1×1 px, 168 KB)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Charlotte renamed this task from Link preview for elliptic curve shows a small green box to [BUG] Link preview for elliptic curve shows a small green box.Apr 27 2018, 2:54 PM

Just had a quick check, noticed that the extract_html contains an image tag, and not sure should we display it or not.

<p>In mathematics, an <b>elliptic curve</b> is a plane algebraic curve defined by an equation of the form</p><dl><dd><span class=\"mwe-math-element\"><img src=\"https://wikimedia.org/api/rest_v1/media/math/render/svg/3dbe6cab1bc2c7f1c99757dc6e5d7a517cf9b4f8\" class=\"mwe-math-fallback-image-inline\" aria-hidden=\"true\" style=\"vertical-align:-0.671ex;width:16.935ex;height:3.009ex;\" /></span></dd></dl>
Vvjjkkii renamed this task from [BUG] Link preview for elliptic curve shows a small green box to v7daaaaaaa.Jul 1 2018, 1:13 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
Mainframe98 renamed this task from v7daaaaaaa to [BUG] Link preview for elliptic curve shows a small green box.Jul 1 2018, 9:19 AM
Mainframe98 raised the priority of this task from High to Needs Triage.
Mainframe98 updated the task description. (Show Details)
Mainframe98 added a subscriber: Aklapper.
Charlotte triaged this task as Medium priority.
Restricted Application changed the subtype of this task from "Task" to "Bug Report". · View Herald TranscriptNov 27 2019, 5:40 PM

This is due to the way that the native article preview component renders math symbols, and alas not something we can fix.