Page 1 of 1

HTML in comments

Posted: Fri Sep 23, 2005 5:23 am
by nyquil
I've been trying to figure out for a while how to get html displayed in comments. I installed the HTML as entities plugin, which is close to what I want, but is there another plugin that I'm overlooking that actually enables the browser to render those entities?

I guess I just don't understand why comments are treated differently than the body. I can see having the ability to disable html markup, but I can't understand why it wouldnt be able to do it.

Am I just overlooking the obvious?

Re: HTML in comments

Posted: Fri Sep 23, 2005 12:28 pm
by garvinhicking
Comments can never contain HTML code. Serendipity strips them out completely, as HTML in comments is the worst thing to do in any open Wiki or Blog system as every user can put dangerous javascript into your blog and steal login cookies or do other nasty things.

So because of security reasons what you want can never be fulfilled, I'm sorry. Your users will need to learn BBCode or other markups like WikiMarkup to format their comments.

Regards,
Garvin