GWicke has submitted this change and it was merged.

Change subject: Deal with indent-pre in HTML-p tags.
......................................................................


Deal with indent-pre in HTML-p tags.

* HTML-spec-compliant tree builders will close any open p-tag
  when it encounters a pre-tag inside.  So, fix the p-wrapper
  to deal with this scenario.  This also updates p-wrapping to
  consider existing HTML p-tags in the wikitext which had been
  ignored prior to this.

* Fixes 1 wt2wt parser test.

Change-Id: Id54e22d6baaec638f200a6ed453123d37ee560ac
---
M js/lib/ext.core.ParagraphWrapper.js
M js/lib/mediawiki.Util.js
2 files changed, 55 insertions(+), 18 deletions(-)

Approvals:
  GWicke: Verified; Looks good to me, approved


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

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

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

Reply via email to