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

_______________________________________________
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 )

Reply via email to