GWicke has submitted this change and it was merged.

Change subject: Handle non-block tags after EOL in the list handler.
......................................................................


Handle non-block tags after EOL in the list handler.

* The following wikitext wasn't being parsed and RTed properly.
---
<small>
* a
</small>
---
  The small-tag was being closed inside the list rather than
  outside the list which messed with RT output.

* Fixed the onAny list handler to break the if-else chain to a
  series of if-checks so that the previous check could fall-through
  to other tests in some cases.

* No change in parser tests (TODO: Add above test)

* Fixes RTing of en:Molecular sentence.

Change-Id: I1cdeef6d4e2a8475fba5f6a59290d4ac64cb5847
---
M js/lib/ext.core.ListHandler.js
1 file changed, 20 insertions(+), 13 deletions(-)

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


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I1cdeef6d4e2a8475fba5f6a59290d4ac64cb5847
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