A few more additions for the Sanitizer

This commit is contained in:
Jacques Distler 2010-05-23 23:22:45 -05:00
parent d2c4623bf7
commit 6677b46cb4
2 changed files with 11 additions and 9 deletions

View file

@ -1,4 +1,4 @@
/*
/*
* svgcanvas.js
*
* Licensed under the Apache License, Version 2
@ -1202,7 +1202,8 @@ function BatchCommand(text) {
(function() {
// TODO: make this string optional and set by the client
var comment = svgdoc.createComment(" Created with SVG-edit - http://svg-edit.googlecode.com/ ");
svgcontent.appendChild(comment);
// Lead to invalid content with Instiki's Sanitizer
// svgcontent.appendChild(comment);
// TODO For Issue 208: this is a start on a thumbnail
// var svgthumb = svgdoc.createElementNS(svgns, "use");