Topic: Bug? No pun_htmlencode on forum_desc in index.php
As the title says. Just put an & in the forum description and watch.
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.3 troubleshooting → Bug? No pun_htmlencode on forum_desc in index.php
As the title says. Just put an & in the forum description and watch.
Yup it's something already talked about in length in another thread.
I thought I remembered something but I went back 3 pages looking for it
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).
I thought that might be the case. Is the plan some kind of warning or javascript popup or something?
I'm running 1.3.1 and having trouble getting linebreaks to work in my forum description
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 "<br /><br />" but it outputted as "<br /><br />" on the index
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'.
PunBB Forums → PunBB 1.3 troubleshooting → Bug? No pun_htmlencode on forum_desc in index.php
Powered by PunBB, supported by Informer Technologies, Inc.