Last modified: 2014-07-24 21:49:33 UTC
Bug report from user. Seems like a Parsoid bug; I will investigate.
No, this appears to be a problem at our end - the changes work fine in Parsoid's RT form. DM issue?
Foo<p>Bar</p> -> Foo\n\nBar <table><tr><td> Foo<p>Bar</p> </td></tr></table> -> {| |Foo\nBar |}
Output on latest master. See the --html2html output. That does render back to original HTML. Can you clarify what needs fixing? ############ [subbu@earth tests] echo '<table><tr><td>Foo<p>Bar</p></td></tr></table>' | node parse --html2wt {| |Foo Bar |} ########### [subbu@earth tests] echo '<table><tr><td>Foo<p>Bar</p></td></tr></table>' | node parse --html2html <body data-parsoid='{"dsr":[0,15,0,0]}'><table data-parsoid='{"dsr":[0,14,2,2]}'> <tbody data-parsoid='{"dsr":[3,12,0,0]}'><tr data-parsoid='{"autoInsertedEnd":true,"autoInsertedStart":true,"dsr":[3,11,0,0]}'><td data-parsoid='{"autoInsertedEnd":true,"dsr":[3,11,1,0]}'>Foo <p data-parsoid='{"dsr":[8,11,0,0]}'>Bar</p></td></tr> </tbody></table> </body> ########### [subbu@earth tests] echo '<table><tr><td>Foo<p>Bar</p></td></tr></table>' | node parse --html2html [subbu@earth tests] echo '<table><tr><td>\nFoo<p>Bar</p></td></tr></table>' | node parse --html2wt {| | Foo Bar |}
Please submit a new bug report if there is anything here that needs fixing.