[Zope-CMF] Preventing HTML in Structured Text in Plone/CMF

Steven Hayles sh23@leicester.ac.uk
Wed, 9 Jul 2003 14:36:13 +0100 (BST)


[big snip]

> In general, you would be better off imposing your policy changes via the
> skin methods, such as 'document_edit', 'newsitem_edit', etc. 
>        
> Tres. 

Dieter and Tres thanks. As you see from my later posting, I did eventually
figure out what was going on. I then started to wonder about ordering of
imports, and whether the patch was only working by luck.

The reason I didn't just change document_edit is that this would have put
the escape codes in the editable Structured Text. The monkey patch only
modified the HTML that resulted from processing the Structured Text.

Thanks again

Steven

Steven Hayles - Computer Systems Developer, sh23@le.ac.uk
Learning Technology Section, Computer Centre, 
University of Leicester, University Rd, Leicester, LE1 7RH 
Fax (0/+44)116 2525027 WWW <URL:http://www.le.ac.uk/home/sh23>