https://bugzilla.wikimedia.org/show_bug.cgi?id=45023
Web browser: ---
Bug ID: 45023
Summary: Parsoid: whitespace preservation when serializing
edited content completely broken
Product: Parsoid
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: JS/serializer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
/_rt/ doesn't catch this, but downloading and resubmitting the HTML does, as
does using the editor.
Create a page with the following wikitext:
Foo bar
Bar baz
== Baz quux ==
Quux whee
To reproduce with the editor:
1. Open the page in the editor
2. Make "bar" bold
3. Click "Review and save"
4. The resulting diff will remove the newline between "Bar baz" and "Quux
whee", and add a newline between "Baz quux" and "Quux whee"
To reproduce without the editor:
1. Download /localhost/Pagename from Parsoid
2. Submit the resulting HTML back to /_html/
3. The output will be:
Foo bar
Bar baz
== Baz quux ==
Quux whee
--
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l