MyBB Community Forums

Full Version: Help Documents HTML not parsed in misc.php?action=helpresults
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have some help documents which use HTML and inline CSS to make them look pretty.

If you use the search feature located within misc.php?action=help the search results will display the raw HTML/CSS like so:

[Image: 3qUaeKg.png]
I can confirm - strip_tags() doesn't seem to affect <style> and <script> tags. This problem may be present in other places that use that function.
(2016-05-17, 02:51 PM)Destroy666 Wrote: [ -> ]I can confirm - strip_tags() doesn't seem to affect <style> and <script> tags. This problem may be present in other places that use that function.

Yes, I've seen it happen in other places too but can't remember where. Wink
Can confirm
Hi,

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github: https://github.com/mybb/mybb/issues/2428

Thanks for contributing to MyBB!

Regards,
The MyBB Group