MyBB Community Forums

Full Version: HTML in Forums Management view
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
If you use html in a forum title, it shows the code in the Admin CP view, not the output. I mean, for example you want Forum title instead of Forum title. So you just use basic html, <b>Forum title</b>. But it doesn't show as Forum title in the Admin CP view, just the coded bolded forum name. Same thing for imagens, italics, underlines and other html tags.

If someone codes something which would screw the layout, that's their problem.

Anyway, also regarding html in forums names, in the breadcrumb it also doesn't show the html output (apparently, check this thread: http://community.mybboard.net/thread-55451.html).
See: http://dev.mybboard.net/issues/322

I commited a fix today about this. Basically, MyBB uses different functions in different parts of the software. In the ACP, I believe it used htmlspecialchars_uni, whereas in the forumbit, it used a preg_replace to turn & into an ampersand, but allowed unicode support.

To bring a level of conformity to the board, I changed it so that only the preg_replace was used, so technically, html can be used in the forum titles and they will appear as they should do everywhere. The only difference is that special characters, such as raquo, should use their unicode equivilants instead.
Glad to hear that. Thanks for the answer.