https://bugzilla.wikimedia.org/show_bug.cgi?id=51946
Web browser: ---
Bug ID: 51946
Summary: Parsoid: empty span added after img when rendering
math tags
Product: Parsoid
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
1. Create a page with just <math>x=y</math>
2. API response is:
[...]
<body data-parsoid="{}">
<p data-parsoid='{"dsr":[0,16,0,0]}'>
<img class="tex" alt="x=y" src="[...]" typeof="mw:Extension/math"
data-mw='[...]' data-parsoid='[...]' about="#mwt3">
<span about="#mwt3" data-parsoid="{}">\n</span>
</p>
</body>
The extra span causes the hover shield to render incorrectly.
Interestingly the extra span doesn't appear when I use the Parsoid web service
tester.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l