Topic on Talk:Page Previews/Flow

Formulas are not properly displayed in link previews

6
SUM1 (talkcontribs)

Formulas ("math" markup) are not properly displayed in link previews. The formula is duplicated with "{\displaystyle }" shown around it, among other changes (like added underscores), powers are incorrectly shown as full numbers and bracketed letters are not shown.

Example: pagelink preview

This is a response to CKoerner (WMF)'s reply on this topic.

CKoerner (WMF) (talkcontribs)
SUM1 (talkcontribs)
Itamarcu (talkcontribs)

Possibly the same bug, not sure: page and link preview. The "O(log n) amortized time" text appears as "O amortized time" in the preview.

Perhaps this is a result of the "O" being a link immediately followed by parentheses?

SUM1 (talkcontribs)

@Itamarcu Yes, that would simply be a case of link previews removing brackets and their contents.

Reply to "Formulas are not properly displayed in link previews"