MyBB Community Forums

Full Version: Font codes showing in some posts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
After update to 1.8.27 font codes are showing in some posts.

Mentioned here: https://community.mybb.com/thread-232927.html

It can be seen on MyBB's forum here:  forum: https://community.mybb.com/post-1342828.html

I have found it on my forum in an old post too.

Thank you.
(2021-07-08, 06:02 PM)sarisisop Wrote: [ -> ]After update to 1.8.27 font codes are showing in some posts.

This is my mistake, in PR #4187.

In that PR, while fixing the problem of font tags being unrendered when the fonts within them contain double-quotes, I removed the nestability of font tags (and also failed to update the name of the relevant count variable which was incremented).

This, I believe, is what results in the unrendered font tags that you are seeing: the inner font tags in nested font tags are no longer rendered.

I've come up with a fix for this, but I'll wait for somebody else to push this bug report before filing a new, corrective PR.
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/4410

Thanks for contributing to MyBB!

Regards,
The MyBB Group
Thank you both.
I have the same issue after updating to 1.8.27 font codes are showing in some posts. Hopefully there is an easy fix.
There's now a fix (as-yet unreviewed, so be cautious in applying it) in PR #4413. Here's the raw patch to apply to your forum.
(2021-07-10, 03:39 PM)Laird Wrote: [ -> ]There's now a fix (as-yet unreviewed, so be cautious in applying it) in PR #4413. Here's the raw patch to apply to your forum.

Thanks much Laird it worked for our forum issues.
(2021-07-10, 05:58 PM)Promo2day Wrote: [ -> ]Thanks much Laird it worked for our forum issues.

Great to hear. Thanks for the feedback.
(2021-07-10, 03:39 PM)Laird Wrote: [ -> ]There's now a fix (as-yet unreviewed, so be cautious in applying it) in PR #4413. Here's the raw patch to apply to your forum.

Thank you Laird, I think I will wait for the official fix.

I wouldn't know how to install the "Patch" or where to put it, but thank you for fixing it.

Smile
The following is page renders the changes for easier read:
https://github.com/mybb/mybb/pull/4413/files

It is highly likely going to be the "official" patch.