GWicke has submitted this change and it was merged.

Change subject: Deal with mw:DiffMarker markers in preProcessDOM.
......................................................................


Deal with mw:DiffMarker markers in preProcessDOM.

* mw:DiffMarkers split up white-space and comment runs which
  messes with selser wanting separators in a single chunk.
* To prevent that, preprocessDOM normalizes the DOM by floating
  diff markers before all preceding ws/comment nodes.

Change-Id: I82cd2fd3f031a42bbf15961a9735796ac42694c6
---
M js/lib/mediawiki.WikitextSerializer.js
1 file changed, 13 insertions(+), 9 deletions(-)

Approvals:
  GWicke: Verified; Looks good to me, approved
  jenkins-bot: Checked


--
To view, visit https://gerrit.wikimedia.org/r/44702
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I82cd2fd3f031a42bbf15961a9735796ac42694c6
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: Subramanya Sastry <[email protected]>
Gerrit-Reviewer: GWicke <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to