Sanitize <svg:image>

This element is unsafe.
This commit is contained in:
Jacques Distler 2007-10-29 13:51:41 -05:00
parent 9c55037626
commit eca126f589
2 changed files with 8 additions and 1 deletions

View file

@ -444,5 +444,12 @@
"rexml": "<rect fill=' '></rect>",
"xhtml": "<rect fill=' '></rect>",
"output": "<rect fill=' '/>"
},
{
"name": "allow_html5_image_tag",
"input": "<image src='foo' />",
"rexml": "&lt;image src=\"foo\"&gt;&lt;/image&gt;",
"output": "&lt;image src=\"foo\"/&gt;"
}
]