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

ssas...@wikimedia.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #1 from ssas...@wikimedia.org ---
No, it is not a regression. It doesn't roundtrip in edit mode. See output (I've
removed a serializer warning to remove clutter). But, selser will preserve it
in most cases except probably where the line containing the end blocktag is
edited.

----------
[subbu@earth lib] echo ":<blockquote>\nfoo\n:</blockquote>" | node parse
--wt2wt --rtTestMode true
:<blockquote>
foo
:</blockquote>
[subbu@earth lib] echo ":<blockquote>\nfoo\n:</blockquote>" | node parse
--wt2wt
:<blockquote>
foo
:
----------

In this case, the wikitext is badly nested and the opening and closing
blockquote tags are considered nested in separate dl-dt lists and the
treebuilder will close the opening tag automatically within the first list and
strip the closing tab from the second list. Parsoid recovers this information
about fixups from the DOM and adds fixup information. In normal wt2wt mode,
that information is used since the DOM could have been edited since (to fix the
errors, for ex.).

So, the behavior is as expected.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to