https://bugzilla.wikimedia.org/show_bug.cgi?id=42666
Web browser: ---
Bug #: 42666
Summary: Initial newline in <pre> is stripped
Product: Parsoid
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: JS/serializer
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
For some reason this doesn't happen in /_rtform/ , but if I copypaste the
output of /_wikitext/ into /_html/ (which is closer to what happens in VE in
practice), I can make it happen.
Wikitext input: <pre>\n\n\nFoo</pre>
HTML output: <pre
data-parsoid="{"stx":"html","tsr":[0,5],"dsr":[0,17]}">\n\n\nFoo</pre>
HTML input: (same)
Wikitext output: <pre>\n\nFoo</pre>
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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