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

Collapse
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.

Collapse
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.

Collapse
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.

Collapse
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).