mediawiki-extensions-Visual.../modules
Subramanya Sastry d7e83c4e2b Fixed/updated newline handling for <p> tags
- More pieces are now simplified and all(?) newline handling
  is now centralized in the serializeToken function.

- This commit fixes bugs in rt-ing some code snippets
    ----------
    Ex 1: foo<p>bar</p>baz
    ----------

- This commit fixes bugs serializing VE generated html
    ----------
    Ex 2: <p>foo</p><pre>bar</pre> ==> foo\n bar
    ----------

- But, this round of fixes introduces RT failures for certain
  code examples in parserTests.txt.  In all these failing cases,
  inline text/html is embedded within a generated <p> tag during
  parsing.  If these generated <p> tags can have a "gc:1" attribute
  added to them, we can properly serialize them to the original
  form.
    ----------
    Ex 3: foo<pre>bar</pre>
          Parsed HTML: <p>foo</p><pre>bar</pre>
    ----------
  Note how this parsed HTML is identical to what the VE outputs
  in Example 2 above.  So, without the gc:1 attribute, we now
  have conflicting requirements on the example same HTML.
  This increases confidence in the correctness of my commit here.

Change-Id: I86beadec91c445a7f8a6d36a639b406697daa0a2
2012-06-14 14:59:18 -05:00
..
jquery Fully revert r114142, was previously reverted in Collection only 2012-03-21 20:45:24 +00:00
parser Fixed/updated newline handling for <p> tags 2012-06-14 14:59:18 -05:00
qunit Updated QUnit 2012-03-09 21:50:24 +00:00
rangy svn:eol-style native 2012-02-10 16:57:02 +00:00
sandbox Build out ve.Surface constructor to support multiple editor instances 2012-04-26 11:56:47 -07:00
ve Get rid of selectionDirection. Introduce getDirection() methdo in 2012-04-27 17:36:55 -07:00