[geeklog-users] style attribute in story html tags

Dirk Haun dirk at haun-online.de
Thu May 6 15:59:37 EDT 2004

>style="color: blue"
>-- to --

Unfortunately, this seems to be a feature of the kses filter class that
we're using. It seems to interpret anything that ends in a colon as a
protocol - and then filters all the unknown protocols.

So, while you certainly want it to filter out anything that starts with,
say "javascript:", you really want to keep the "color:" ...

I have no real solution for this other than

a) stick the "color: blue" in a class and use class="" instead of style=""

b) bring this to the attention of the kses developers over at

bye, Dirk


More information about the geeklog-users mailing list