[Sugar-devel] [PATCH] TurtleArt - escaping HTML entities while exporting to HTML #sl1854

Sascha Silbe sascha-ml-ui-sugar-devel at silbe.org
Sat Jul 3 05:05:18 EDT 2010


Excerpts from Tim McNamara's message of Sat Jul 03 07:14:01 +0000 2010:

[taexporthtml.py]
> +from cgi import escape
[...]
> -        code += data_to_string(tw.assemble_data_to_save(False, True))
> +        code += escape(data_to_string(tw.assemble_data_to_save(False,
> True)))

I don't grok the current code 100%, but your change appears to be
correct and complete.

Reviewed-By: Sascha Silbe <sascha-ml-reply-to-2010-2 at silbe.org>

Sascha

--
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
Url : http://lists.sugarlabs.org/archive/sugar-devel/attachments/20100703/91537857/attachment.pgp 


More information about the Sugar-devel mailing list