1

Topic: Bug? No pun_htmlencode on forum_desc in index.php

As the title says. Just put an & in the forum description and watch.

Re: Bug? No pun_htmlencode on forum_desc in index.php

Yup it's something already talked about in length in another thread.

3

Re: Bug? No pun_htmlencode on forum_desc in index.php

I thought I remembered something but I went back 3 pages looking for it hmm

Re: Bug? No pun_htmlencode on forum_desc in index.php

Basically:

Newbie need to encode entities if they use one (&<>) in the description, which should be explained in the manual/install process and should be rare.

Advanced users need to be able to use tags in description, <cite> or <a> being probably the most common.

And it's more work to have it both way (encode automatically for newcomers, extended for the others).

5

Re: Bug? No pun_htmlencode on forum_desc in index.php

I thought that might be the case. Is the plan some kind of warning or javascript popup or something?

6 (edited by downliner 2008-12-06 12:55)

Re: Bug? No pun_htmlencode on forum_desc in index.php

I'm running 1.3.1 and having trouble getting linebreaks to work in my forum description hmm

This is line one of my description.<br /><b>This is line 2</b>

Outputs as:

This is line one of my description.This is line 2

No linebreak. I've tried "<br /><br />" and "<br><br>" but neither works. Is this related to the HTML needing to be encoded? I also tried "&lt;br /&gt;&lt;br /&gt;" but it outputted as "<br /><br />" on the index sad

Re: Bug? No pun_htmlencode on forum_desc in index.php

It's something on the CSS:

.brd br, .brd hr, .brd .hr, .brd .hidden {
display: none;
}

on Lines 22-24 on 'style/Oxygen/Oxygen.css'.