On http://parsoid.wmflabs.org/_wikitext/
Input:
<a title="1"></a>
Output:
<a title='1'></a>
Expected:
<a title="1"></a>
Version: unspecified
Severity: normal
On http://parsoid.wmflabs.org/_wikitext/
Input:
<a title="1"></a>
Output:
<a title='1'></a>
Expected:
<a title="1"></a>
Version: unspecified
Severity: normal
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | • GWicke | T41567 Parsoid: General round-tripping (tracking) | |||
Resolved | • GWicke | T43225 Double quotes are turned into single quotes when the element is not accepted as HTML |
We don't intend to track this and similar minor syntactical issue, as it does not make a difference to the HTML DOM produced. The production version will use selective serialization only of modified parts of the page, so that these syntactic diffs won't result in dirty diffs.
When NOT accepted as HTML, this is not a syntactical issue but users will see those different quotes directly.
Good point, we should try to use the tsr if available to sanitize to the original wikitext in the sanitizer.