mediawiki-extensions-Visual.../modules
Catrope bf7b243627 (bug 42121) Change markers lost for first paragraph on new page
When editing a new page, or loading an empty page into the editor, the
converter generates a paragraph so the document isn't completely empty.
This paragraph is then unwrapped on the way out, potentially destroying
change markers and generally producing strange HTML output.

Mark this paragraph with generated=empty rather than generated=wrapper,
and only unwrap it on the way out if it's still empty. This means we
cleanly round-trip empty documents (and empty list items and the like),
but if the user enters text, we create a paragraph like we're supposed
to.

Change-Id: Id0241221a67b769445676b833b5741320d99ea5f
2012-11-21 13:54:52 -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 42121) Change markers lost for first paragraph on new page 2012-11-21 13:54:52 -08:00