Page 1 of 1

serendipity_event_glossary

Posted: Fri Oct 20, 2006 10:41 am
by JWalker
Hello,

I am using serendipity_event_glossary and noted that it works with plain keywords - like 'Serendipity', 'K12', Iexp'. But when I use par example 'I<sub>exp</sub>' to make subscript the glossary does not work. It does not work even I entered as keyword 'I<sub>exp</sub>' in plugin confuguration. I suppose that this is intended behavior, to avoid from undesirable side effects. Here is my question: Is it possible to make more complex parsing of the keywords to allow such 'light' HTML but still to be not dangerous ?

Re: serendipity_event_glossary

Posted: Fri Oct 20, 2006 10:46 am
by garvinhicking
Hi!

Sadly there is no easy way to allow HTML input there; you would have to build a whitelist which is just too hard to maintain.

Maybe instead you want to have a look at the serendipity_event_contentrewrite plugin? If I recall correctly, this should support HTML markup.

Best regards,
Garvin

Posted: Fri Oct 20, 2006 12:17 pm
by JWalker
Thank you. I didn't think about contentrewrite plugin, now I have a cause to take a look to it. :)