Last modified: 2013-08-23 23:08:18 UTC
Apparendly autoInserted* markers are still used in the serializer for HTML tags even when we are not round-trip testing. This is unsafe, so should be disabled. We can however safely clean up some things in the DOMPostProcessor based on these tags.
Does this bug explains why we have such type of HTML </span><p data-parsoid='{"fostered":true,"autoInsertedEnd":true}' about="#mwt2"><br data-parsoid="{}"></p><span about="#mwt2" data-parsoid="{}"> </span><p data-parsoid='{"fostered":true,"autoInsertedEnd":true}' about="#mwt2"><br data-parsoid="{}"></p><span about="#mwt2" data-parsoid="{}"> </span><p data-parsoid='{"fostered":true,"autoInsertedEnd":true}' about="#mwt2"><br data-parsoid="{}"></p><span about="#mwt2" data-parsoid="{}"> </span><p data-parsoid='{"fostered":true,"autoInsertedEnd":true}' about="#mwt2"><br data-parsoid="{}"></p><span about="#mwt2" data-parsoid="{}"> </span><p data-parsoid='{"fostered":true,"autoInsertedEnd":true}' about="#mwt2"><br data-parsoid="{}"></p><span about="#mwt2" data-parsoid="{}"> ... at the top of many article, like this one for example? http://parsoid.wmflabs.org/fi/Kypros
(In reply to comment #1) > Does this bug explains why we have such type of HTML > > </span><p data-parsoid='{"fostered":true,"autoInsertedEnd":true}' > about="#mwt2"><br data-parsoid="{}"></p><span about="#mwt2" > data-parsoid="{}"> > </span><p data-parsoid='{"fostered":true,"autoInsertedEnd":true}' > about="#mwt2"><br data-parsoid="{}"></p><span about="#mwt2" > data-parsoid="{}"> > </span><p data-parsoid='{"fostered":true,"autoInsertedEnd":true}' > about="#mwt2"><br data-parsoid="{}"></p><span about="#mwt2" > data-parsoid="{}"> > </span><p data-parsoid='{"fostered":true,"autoInsertedEnd":true}' > about="#mwt2"><br data-parsoid="{}"></p><span about="#mwt2" > data-parsoid="{}"> > </span><p data-parsoid='{"fostered":true,"autoInsertedEnd":true}' > about="#mwt2"><br data-parsoid="{}"></p><span about="#mwt2" > data-parsoid="{}"> > > ... at the top of many article, like this one for example? > http://parsoid.wmflabs.org/fi/Kypros No, that is not related. There is a bug though, which I described in bug 53287. The original bug has since been fixed by making editMode the default everywhere except in round-trip testing. Closing this bug for that reason.