Dne úterý, 17. května 2005 13:26 Chris Withers <[EMAIL PROTECTED]> napsal(a): > Jaroslav Lukesh wrote: > >>>I was extend SquishDot with wysiwyg editor (origin: vsbabu ieeditor). > >>> But it was not accept many tags due too small number of allowed html > >>> attributes in stripogram. > >> > >>Looks like you completely defait the purpose of the stripping ;) > > Yeah, what Tino said ;-) > > Why are you bothering to strip when you basically let people put in all > the abusive tags anyway?
Because it is not abusive tags for intranet blog. > > return strip(html2safehtml(text,self.getProperty('valid_tags',('b', 'a', > > 'i', 'br', 'p', 'h3', 'ul', 'li', 'font', 'br')))) > > Also, why don't you just add a valid_tags property to your Squishdot > site rather than hacking the source code? I want to use stripogram not only with squishdot. And at second, at time of hacking I does not know valid_tags property :o) Best Regards, -- Jaroslav Lukesh ----------------------------------------------------------- This e-mail can not contain any viruses because I use Linux _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )