[ZPT] stripOgram tag attributes

Tim Cardinal cardinal@humanmachine.de
Thu Apr 10 10:09:45 EDT 2003


Hi all,

i'm working with stripOgram - no problems. But it seems to be impossible to
allow valid tags without attributes.
I mean something like this:
-------
from Products.stripogram import html2text, html2safehtml
myResult=html2safehtml(data,valid_tags=('table':{'*':None},'tr'))

return myResult
-------

Is there anywhere a possibility to use a syntax to define allowed or
forbidden tag-attributes?

many many thanx,
Pamtoffel





More information about the ZPT mailing list