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

--- Comment #3 from [email protected] ---
Oh .. interesting .. and also odd. I rememeber clearly gabriel or I turning on
edit mode for round trip testing as well. Did that regress? But, also indicates
some bug when editMode is not set.

editMode indicates that we are pretending as if the document will be edited and
the HTML should be serialized assuming it was edited (even though, in reality
in all our commandline and roundtrip testing, it never is). editMode
effectively prevents us from using certain kinds of source information about
wikitext fixes that the parser makes (ex: if a closing tag was added
automatically, that information is recorded in the autoInserted* flags in
data-parsoid. If editMode=false, we can use that information to acccurately
serialize the HTML. But if editMode=true, we cannot use that information
unconditionally).

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