https://bugzilla.wikimedia.org/show_bug.cgi?id=43029

--- Comment #4 from [email protected] ---
> This is not a serialization issue.  This is a parse problem:
> 
> [subbu@earth tests] echo -e '{|\n|foo\n<\!-- -->\n|}\nfoo' | node parse.js
> <p data-parsoid="{&quot;dsr&quot;:[1,6]}">-e {|</p>
> foo
> <!-- -->
> <p data-parsoid="{&quot;dsr&quot;:[20,26]}">|}
> foo</p>

Sorry, bad commandline.  The right output is this here:

[subbu@earth tests] echo '{|\n|foo\n<\!-- -->\n|}\nfoo' | node parse.js
<table
data-parsoid="{&quot;tsr&quot;:[0,2],&quot;autoInsertedEnd&quot;:true,&quot;dsr&quot;:[0,24]}">
<tbody data-parsoid="{&quot;dsr&quot;:[3,24]}"><tr
data-parsoid="{&quot;dsr&quot;:[3,24]}"><td
data-parsoid="{&quot;tsr&quot;:[3,4],&quot;autoInsertedEnd&quot;:true,&quot;dsr&quot;:[3,24]}">foo
<!-- -->
<p data-parsoid="{&quot;dsr&quot;:[17,23]}">|}
foo</p>
</td></tr></tbody></table>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to