# HG changeset patch # User Sverre Rabbelier # Date 1237583483 0 # Node ID 64fa3cf03b4e4e045818a388e448659c4ef3ec14 # Parent e6644c70e4087b00325b87181d02ea9c4dc29fb7 Removed formatting from TinyMCE that use the style tag The style tag is removed by feedparser as it can be used to insert malicious content. Patch by: Sverre Rabbelier diff -r e6644c70e408 -r 64fa3cf03b4e app/soc/views/helper/widgets.py --- a/app/soc/views/helper/widgets.py Fri Mar 20 21:02:46 2009 +0000 +++ b/app/soc/views/helper/widgets.py Fri Mar 20 21:11:23 2009 +0000 @@ -19,6 +19,7 @@ __authors__ = [ '"Pawel Solyga" ', + '"Sverre Rabbelier" ', ] @@ -78,10 +79,9 @@ {% endblock %} """ - features1 = ("bold,italic,underline,strikethrough,|," - "forecolor,backcolor,blockquote,|" + features1 = ("bold,italic,underline,strikethrough,blockquote,|," ",justifyleft,justifycenter,justifyright,justifyfull,|," - "fontselect, fontsizeselect,formatselect") + "formatselect") features2 = ("newdocument,|,bullist,numlist,|,outdent,indent,|,undo,redo,|" ",link,unlink,anchor,image,cleanup,help,code,hr,removeformat,visualaid,|,"