Last modified: 2014-11-17 15:18:05 UTC
Created attachment 16455 [details] Span tag as seen in Firefox https://en.wikipedia.org/wiki/Everyone_Poops?veaction=edit produces an ugly span tag above the infobox. The infobox is not displaying correctly at all in Safari, but in both Firefox and Safari it shows a long, large, bold-face span tag. This appears to be caused by the <ref> tags. See https://en.wikipedia.org/w/index.php?oldid=625300040 for a single-parameter infobox that causes the mess. These span tags are not saved, so they don't corrupt the wikitext.
Created attachment 16456 [details] Infobox as seen in Safari. Note that the content of the box does not display in Safari. It's blank for half a screen, and then the article text begins.
Also reported here: https://www.mediawiki.org/wiki/Thread:VisualEditor/Feedback/Infobox_on_en.wikipedia%27s_The_Little_Prince
Looks like a Parsoid issue?
This is just a buggy template / template use. The wikitext on https://en.wikipedia.org/w/index.php?oldid=625300040 leads to the following template expansion for the infobox: ... <span class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.btitle=Everyone+Poops<ref name="bnn">{{cite web|url=http://search.barnesandnoble.com/Everyone-Poops/Taro-Gomi/e/9780916291457|title=Everyone Poops, My Body Science Series, Taro Gomi, Book|accessdate=2008-02-14|year=2009|publisher=[[Barnes & Noble]]}}</ref>"></span ... See how the span has a title attribute that has a ref tag and transclusion. But even that brokenness is okay .. the real problem is the use of double quotes for the name attribute of the <ref> tag that is embedded in the title attribute. So, the wikitext is effectively something like this: <span title="....name="bnn"..."</span> That is broken because of the use of double quotes which terminates the title attribute early. This is one of those edge-case differences between PHP parser and Parsoid. If the name="bnn" is replaced with name='bnn', this will work. This is a wontfix on the Parsoid end since there is a wikitext edit that will handle this strange edge case. Please reopen if there is something to do on the Parsoid end.