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

--- Comment #7 from Gabriel Wicke <gwi...@wikimedia.org> ---
The patch above fixes a large part of this issue.

There are however still some situations where a meta can end up in
foster-parent position, which will then be foster-parented out at the client:

echo -ne '<table>{{echo|__NOTOC__}}<tr><td>foo' | node parse

<body data-parsoid='{"dsr":[0,36,0,0]}'><table
data-parsoid='{"tsr":[0,7],"stx":"html","autoInsertedEnd":true,"dsr":[0,36,7,0]}'><meta
property="mw:PageProp/notoc"
data-parsoid='{"tsr":[7,25],"src":"{{echo|__NOTOC__}}","dsr":[7,25,null,null]}'
about="#mwt1" typeof="mw:Object/Template"
data-mw='{"target":{"wt":"echo"},"params":{"1":{"wt":"__NOTOC__"}}}'><tbody
data-parsoid='{"dsr":[25,36,0,0]}'><tr
data-parsoid='{"tsr":[25,29],"stx":"html","autoInsertedEnd":true,"dsr":[25,36,4,0]}'><td
data-parsoid='{"tsr":[29,33],"stx":"html","autoInsertedEnd":true,"dsr":[29,36,4,0]}'>foo</td></tr></tbody></table></body>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to