mediawiki-extensions-Visual.../modules
Catrope 662880605c (bug 42119) Handle alienation in wrapping mode properly
When alienating in wrapping mode, we need to look at the type of tag to
decide whether to create a wrapped alienInline, or to interrupt the
paragraph for an alienBlock.

This was being done just fine for the general alienation case
(unrecognized tag), but not for the special cases (mw:unrecognized,
about groups).

* Centralize the logic for ending a wrapper in stopWrapping()
* Move the wrapping-contingent block/inline detection logic into
  createAlien()
* Simplify the terrible if statement to decide whether a future decision
  requires us to stop wrapping. Instead, detect the cases in each code
  path separately and call stopWrapping() as appropriate
* Add tests

Change-Id: I4054584ae05e7d5daa71edead3e6a6588cf5d3bb
2012-11-21 13:42:13 -08:00
..
jquery Upstream: jQuery 1.8.2, QUnit 1.10.0. 2012-10-23 00:31:27 +02:00
qunit Upstream: jQuery 1.8.2, QUnit 1.10.0. 2012-10-23 00:31:27 +02:00
rangy svn:eol-style native 2012-02-10 16:57:02 +00:00
ve (bug 42119) Handle alienation in wrapping mode properly 2012-11-21 13:42:13 -08:00