Parsoid/Bug List

=List of Parsoid (parsing/serializing) bugs= parser outputs a duplicate &lt;/pre&gt; in parsed html ; foo: bar roundtrips to     ; foo:
 * Parser: For this example below,
 * Serializer: This example

bar . But, this example ; foo: baz bar roundtrips correctly. &lt;h2&gt;foo&lt;/h2&gt;&lt;p&gt;bar
 * Serializer: Lost newline

&lt;/p&gt; serializes to: ==foo== bar * foo ** bar *** baz with master revision 33dc9abb0db364bb41ca0b06d368bde386719d6a. This is a problem with diffWords which swallows newlines. diffChars works better, but it takes too long and too much memory. Alternative would be to use diffChars on "small" lines. :foo ::bar roundtrips as     :foo :bar ;i1 :d1 :d2 parses as dt -&gt; [dd, dt] instead of dt -&gt; [dd, dd]
 * Parser: Text not wrapped in &lt;p&gt; tags. Look at HTML output for http://parsoid.wmflabs.org/_rt/mw:Parsoid/Todo  In several sections, text after headings in certain context appears bare.  I haven't yet reduced this to a small test case.
 * Diffing bug: Try roundtrip diff on a page with content
 * Serializer: Indenting is broken
 * Parsing is broken for multiple defns
 * Roundtripping of html attributes -- needs fixing
 * Escaping/serialization of html entities -- not done