https://bugzilla.wikimedia.org/show_bug.cgi?id=51004
Web browser: ---
Bug ID: 51004
Summary: Exclude outer whitespace from headings and list items
Product: Parsoid
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: DOM
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
We currently include purely syntactic whitespace in the DOM, which makes life
for VE and other clients harder than necessary. Instead, we should abstract
purely syntactic whitespace and match the PHP parser's output.
Test cases:
== Foo ==
should parse to <h2>Foo</h2> instead of <h2> Foo </h2>
* foo
should parse to <ul><li>foo</li></ul> instead of <ul><li> foo</li></ul>
--
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