[Zope] Strip all HTML

Geir Bækholt lists at elvix.com
Thu Aug 7 15:38:39 EDT 2003


On  Thu, 7 Aug 2003 14:22:26 +0200 (CEST) GMT (..14:22 where i live(GMT+2) )
ken at practical.org asked the Zope mailinglist about the following:
  
> Chris Withers wrote:
>>Are there any other tags where the content should be removed?

> AFAICT, the HTML elements which need to be removed together with
> their content are: style, script, noscript and noframes. At least
> those are the most common non-proprietary ones.

Wouldn't removing the contents of noscript and noframes be off-target?
They exist solely for the purpose of providing alternative content to
what would be rendered by a script or in a frame.

It appears to me to be practical to keep this alternative content,
both in a text-only version, and in the indexes in a catalog (unless
you use them in the non-recommended, html3.2 way (e.g : "you need
frames to see this content"), that is...)

:)

--
Geir Bækholt




More information about the Zope mailing list