Last modified: 2013-05-10 16:36:52 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.
Very likely a paragraph wrapper bug.
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.
Sorry, didn't read the bug report carefully. It is <ref /> .. so, yes likely a paragraph-wrapper bug.
Related URL: https://gerrit.wikimedia.org/r/63112 (Gerrit Change I9c10ab734bc4af29fdf94ad06a664271a315b7cb)
https://gerrit.wikimedia.org/r/63112 (Gerrit Change I9c10ab734bc4af29fdf94ad06a664271a315b7cb) | change APPROVED and MERGED [by jenkins-bot]