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="{"dsr":[1,6]}">-e {|</p> > foo > <!-- --> > <p data-parsoid="{"dsr":[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="{"tsr":[0,2],"autoInsertedEnd":true,"dsr":[0,24]}"> <tbody data-parsoid="{"dsr":[3,24]}"><tr data-parsoid="{"dsr":[3,24]}"><td data-parsoid="{"tsr":[3,4],"autoInsertedEnd":true,"dsr":[3,24]}">foo <!-- --> <p data-parsoid="{"dsr":[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
