https://bugzilla.wikimedia.org/show_bug.cgi?id=41289

Gabriel Wicke <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #6 from Gabriel Wicke <[email protected]> ---
For round-tripping, the HTML-syntax li element can get a data.parsoid.prefixSrc
member that contains the source of the preceding list item based on that item's
dsr value (dom source range). See the comment in DOMPostProcessor about the dsr
fields. In the DOMPostProcessor handler, the list item should also have the dsr
updated to include the wikitext '* ' prefix.

This then needs to be handled in the WikitextSerializer. For HTML-syntax tags
there is a generic _serializeHTMLTag handler that is handling also HTML-syntax
list items. Somewhere in there the extra prefix source needs to be emitted
based on data-parsoid. We should also make sure that the wikitext list item is
always emitted in newline context, and strip it if that newline context is no
longer there.

-- 
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

Reply via email to