serendipity_event_glossary

Creating and modifying plugins.
Post Reply
JWalker
Regular
Posts: 177
Joined: Mon Sep 12, 2005 4:14 pm
Location: Botevgrad, Bulgaria
Contact:

serendipity_event_glossary

Post 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 ?
Ivan Cenov
OKTO-7 Co., Botevgrad
Bulgaria
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: serendipity_event_glossary

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
JWalker
Regular
Posts: 177
Joined: Mon Sep 12, 2005 4:14 pm
Location: Botevgrad, Bulgaria
Contact:

Post by JWalker »

Thank you. I didn't think about contentrewrite plugin, now I have a cause to take a look to it. :)
Ivan Cenov
OKTO-7 Co., Botevgrad
Bulgaria
Post Reply