Page 1 of 1
HTML in Comments not working
Posted: Thu Aug 25, 2005 4:44 am
by MySchizoBuddy
just installed the html in comments plugins and placed it right on top of the event list, but still my comments have all tags stripped away.
anyone tried that plugin
Re: HTML in Comments not working
Posted: Thu Aug 25, 2005 7:04 pm
by garvinhicking
I tried that plugin, yes.
Tell us which plugins you have exactly in your event list, and in which order they are.
Did you make a new comment and see how it gets shown? And you are talking of the serendipity_event_unstrip_tags plugin, right?
Regards,
Garvin
Posted: Fri Aug 26, 2005 6:32 am
by MySchizoBuddy
Posted: Fri Aug 26, 2005 6:48 am
by Jeremy
How did you do the tabs at the top of you page?
Posted: Fri Aug 26, 2005 3:33 pm
by garvinhicking
I just posted on your blog, MySchizoBuddy. The HTML is properly converted there, see!
Remember that it converts <strong>STRONG</strong> to exactly that HTML. Without the plugin only "STRONG" without HTLM-tags would be shown.
It does NOT allow HTML in comments! That is plain wicked to allow, we will never support this as it makes XSS as easy as possible.
Regards,
Garvin
Posted: Fri Aug 26, 2005 3:57 pm
by MySchizoBuddy
yeah but I cannot create any paragraphs in it. Its all just one big block.
perhaps u can allow selected html like a <a href> tag, <p> and <br>
I want users to be able to post clickable links, u can make all links in comment deafult to rel="nofollow"
also <strong>Strong</strong>
should make the text bold right. whats the point of just html tags if they don't do anything. there has to be some way to atleast make paragraphs in it.
Posted: Fri Aug 26, 2005 4:03 pm
by garvinhicking
No, ahref and stuff can all be swampified with javascript. There is no real secure way.
Use BBCode for that, this is basically what you want!
Don't breaks suffice instead of paragraphs? One could create a plugin that wraps a single line with "<p>...</p>" instead of just adding <br /> to it, but IMHO it is not really often required to have paragraphs in short comments...
Regards,
Garvin
Posted: Fri Aug 26, 2005 4:11 pm
by MySchizoBuddy
ok let me try BBcode.
I want this cause one user complained about no paragrapgs or anyway to make a new line. and plus i want it too
NL2BR should work in comments
Posted: Fri Aug 26, 2005 4:24 pm
by garvinhicking
Sure, nl2br works in comments if enabled. It does it for me, at least
Regards,
Garvin