Home
The Toolkit for Online Communities
15899 Community Members, 0 members online, 2435 visitors today
Log In Register

Forum OpenACS Q&A: HTML tags in the subject line (again).

OpenACS Home : Forums : OpenACS Q&A : HTML tags in the subject line (again). : One Message

+
Posted by Lamar Owen on
If HTML tags shouldn't be in the subject line, then the forum software should strip them out.

If the forum software doesn't strip them out, then they are allowed.  If it messes up the formatting of the e-mail, then the e-mail sending should strip out the tags.

Basic software engineering -- if it's not allowed, then don't facilitate it.  So strip the subject line of tags. Please.

+
Posted by Branimir Dolicki on
HTML tags shouldn't be stripped but characters <, >, &, " and ' should be quoted so that they are properly displayed. There is no reason why the Subject (especially in a technical forum like this) shouldn't read, say:

Should I use the <br> tag?

Or:

If x<y then y>x.

+
Posted by Eduardo Pérez on
Is anyone working in HTML quoting as Branimir Dolicki stated to allow characters <, >, &, " and ' in openacs forum subjects?

I don't think it's a good idea that a simple <!-- in the subject can block the forums page from being viewed.

I just want to know who are looking into this problem to be able to help.

+
Posted by Jeff Davis on
I fixed the existing subject lines in the db but have not
had time to fix the code.  If you (or anyone else for that matter) fixes it in a 4.6 branch checkout and submit a patch I can apply it (both on 4.6 and on openacs.org).