https://bugzilla.wikimedia.org/show_bug.cgi?id=46826
Web browser: ---
Bug ID: 46826
Summary: Sanitizer breaks microdata
Product: Parsoid
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: JS/General
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
The "Sanitizer: Validating that <meta> and <link> work, but only for Microdata"
test case expects that:
<link itemprop="hello" href="{{SERVER}}">
is expanded to
<link itemprop="hello" href="http://example.org" />
but that
<link rel="stylesheet" href="{{SERVER}}">
is sanitized to
<link rel="stylesheet" href="<a rel="nofollow" class="external free"
href="http://example.org">http://example.org</a>">
We currently render these as:
<link itemprop="hello" href="{{SERVER}}">
<link rel="stylesheet" itemprop="hello" href="{{SERVER}}">
That is, the sanitizer is breaking metadata in the first example (which it
shouldn't) and {{SERVER}} isn't being expanded in either.
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l