MyBB Community Forums

Full Version: Upgraded from 1.8.27 to 1.8.34 broke MyCode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there. I recently upgraded my website from 1.8.27 to 1.8.34. As a result, all text that is surrounded by MyCode tags no longer shows. It doesn't even show in the generated html (so basically it doesn't even try to parse the text). When I edit and remove MyCode tags, the text shows back up. This happened after I did the upgrade.

Is there a reason this is occurring?

I also am using this parsing debug file:

https://raw.githubusercontent.com/dvz/my...-debug.php

And I got this as errors:

https://i.imgur.com/fCrsi3F.png

Anyone who knows html knows these are ridiculous errors cause tags like hr and img are one line tags.
The validation uses the XHTML standard - if custom MyCodes or extensions use e.g. <hr>, try changing those to <hr />.
I added / to the end of hr and img tags and it worked. I can see my posts again. Did the format change with myBB upgrade then?
The validation was added in version 1.8.27 and initially errors were only logged, but with 1.8.28 errors result in blocked output.