Skip to content

Commit 62b9124

Browse files
authored
Remove rel attribute from a element - fixes #344 (#346)
1 parent 8bcf166 commit 62b9124

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

builtins/safe-default-configuration.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,6 @@
254254
"name": "hreflang",
255255
"namespace": null
256256
},
257-
{
258-
"name": "rel",
259-
"namespace": null
260-
},
261257
{
262258
"name": "type",
263259
"namespace": null

builtins/safe-default-configuration.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ div
6060

6161
a
6262
- href
63-
- rel
6463
- hreflang
6564
- type
6665
// Purposely omitted:
6766
// - target
6867
// - download
6968
// - referrerpolicy
69+
// - rel
7070
// - ping
7171
em
7272
strong

index.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1550,6 +1550,6 @@ A more complete treatment of mXSS can be found in [[MXSS]].
15501550

15511551
This work is informed and inspired by [[DOMPURIFY]] from cure53,
15521552
Internet Explorer's {{window.toStaticHTML()}} as well as the original
1553-
[[HTMLSanitizer]] from Ben Bucksch.
1554-
Anne van Kesteren, Krzysztof Kotowicz, Tom Schuster, Luke Warlow,
1555-
Guillaume Weghsteen, and Mike West for their valuable feedback.
1553+
[[HTMLSanitizer]] from Ben Bucksch. Anne van Kesteren, Krzysztof Kotowicz,
1554+
Andrew C. H. Mc Millan, Tom Schuster, Luke Warlow, Guillaume Weghsteen,
1555+
and Mike West for their valuable feedback.

0 commit comments

Comments
 (0)