Last modified: 2013-05-10 16:36:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T50311, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48311 - Parsoid: Single line break between references not converted to HTML
Parsoid: Single line break between references not converted to HTML
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
token-stream transforms (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Gabriel Wicke
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-09 22:40 UTC by Ed Sanders
Modified: 2013-05-10 16:36 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Ed Sanders 2013-05-09 22:40:57 UTC
* Convert 'Foo <ref />\n</ref />' to HTML
* Expect '<p>Foo <span ... />\n<span ... /></p>'
* Result is missing '\n'

This may be a fairly common case as people like to separate <ref>s at the end of paragraphs for legibility.
Comment 1 Gabriel Wicke 2013-05-09 23:13:32 UTC
Very likely a paragraph wrapper bug.
Comment 2 ssastry 2013-05-10 02:01:01 UTC
No, in Cite, I strip leading whitespace since that seemed to be the behavior on enwp sandbox, but I suppose there is some corner case here which behaves differently.  Will test, document, and fix.  And, actually read the Cite extension php code.
Comment 3 ssastry 2013-05-10 02:57:05 UTC
Sorry, didn't read the bug report carefully.  It is <ref /> .. so, yes likely a paragraph-wrapper bug.
Comment 4 Gerrit Notification Bot 2013-05-10 08:53:23 UTC
Related URL: https://gerrit.wikimedia.org/r/63112 (Gerrit Change I9c10ab734bc4af29fdf94ad06a664271a315b7cb)
Comment 5 Gerrit Notification Bot 2013-05-10 15:39:42 UTC
https://gerrit.wikimedia.org/r/63112 (Gerrit Change I9c10ab734bc4af29fdf94ad06a664271a315b7cb) | change APPROVED and MERGED [by jenkins-bot]

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links