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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Unprioritized               |Normal

--- Comment #1 from [email protected] ---
This behavior is partly "by design". The current behavior is optimized for
scenarios where the table (from which content got fostered) is not edited. We
want to prevent corruption (loss of information OR duplication of content) in
those scenarios.

The wt2html parse assigns zero-width dsr info to fostered content. This works
well in selser because when it encounters these nodes, it just emits an empty
string and the table after it emits the original content (as long as it was not
edited).

But, if the table is edited, the fostered content node before it goes to '',
and the table is serialized normally. Since the table html no longer has the
fostered content there, the table doesn't emit the fosterable content either,
and effectively, that is lost.

The solution to this problem would be to fix our DOMDiff to set edit-flags of
fostered content nodes to be the same as edit-flags of the table from which
they were fostered.

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