MyBB Community Forums

Full Version: An option to turn off `nl2br()` for custom MyCodes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Some custom MyCodes like printing HTML codes using <pre> may have the issue of outputting <br />for raw line breaks.

There are several threads demanding an option to disable nl2br() function in MyCode parsing:
https://community.mybb.com/thread-201870.html
https://community.mybb.com/thread-203937.html
https://community.mybb.com/thread-205148.html
https://community.mybb.com/thread-230056.html
I support this request.
I do too.
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/4226

Thanks for contributing to MyBB!

Regards,
The MyBB Group