Last modified: 2013-04-22 16:14:57 UTC
Example input: #<p data-ve-changed="{"created":1,"content":35,"rebuilt":1}">The first thing, followed by...</p> Expected output: <li><p data-ve-changed="{...}">Text</p></li> Observed output: <li><p data-ve-changed="{...}">Text</p></li> Round-tripping is also broken, but the bigger issue is that the HTML tag renders as plain text.
Minimal test case: <p foo="{}"> Need to relax syntactical breaks to allow single braces in attributes.
Patch pushed in https://gerrit.wikimedia.org/r/#/c/37862/.