[Zope] Remove/Ignore <P> and other HTML tags
David H
bluepaul at earthlink.net
Thu Sep 14 21:26:21 EDT 2006
Zhi-Wei Lu wrote:
>
> for object in container.research.objectValues():
> a = object.getId()
> if (a == name):
> text = object.research_description_html.read()
> else:
> pass
>
> text = str(text)
>
> return text[0:400] + '...'
ZhiWei,
Just post a good fragment of
your text[ 0 : 400 ] that pops your literal <p> and other
non-translated html stuff and likely someone will solve it quick. I'm
thinking an analogie to ZPT's structure keyword ....
Paul is right - the permission scheme did change. I know it annoyed the
hell out of me :-) But not sure if thats your issue
David
More information about the Zope
mailing list