[Zope-CMF] HTML & CMFDocument: <u></u> and <SUP></SUP> scrubbed out??

Tres Seaver tseaver at zope.com
Sun Aug 31 05:57:31 EDT 2003


On Sat, 2003-08-30 at 20:35, Colin Leath wrote:
> I found that my CMF site (http://carfreeuniverse.org
> on freezope) was not letting me underline any text
> when entering documents in HTML mode.
> 
> Upon further investigation, I found that a stock CMF
> 1.3 site on Zope 2.6 shares this behavior, but that
> http://cmf.zope.org does not scrub <u></u> but does
> scrub <sup></sup>.
> 
> (Actually, I got it to do so once, but now due to some
> strange caching issue, cmf.zope.org is not behaving...
> not accepting my changes, not letting me switch doc
> type to html)
> 
> Because I want to use EPOZ with CMF I'd like to allow
> underlining, color text, superscript, and so on.
> 
> How can I do this? How can the freezope admins make
> this possible? Is this a CMF bug or just an
> implementation issue?

It is a bug in CMF 1.3;  the "scrubber" uses a "white list" of allowed
tags, and I neglected to include '<u>' in the list.  The bug has been
fixed in 1.3.1, 1.4, and the head.

Tres.
-- 
===============================================================
Tres Seaver                                tseaver at zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com




More information about the Zope-CMF mailing list