MyBB Community Forums

Full Version: I need help with SKEditor
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys, When I want to post a new thread on my site and I press preview, the post looks like this:

[attachment=46772]

I can't find a solution for this problem and I don't know why code is showing in the post, Mybb is all updated and the files are good. 

This is the sire URL: https://www.soulcairn.online

I've been trying to solve this for days at this point so if anyone can help me I'd be real glad.
one thread is enough: https://community.mybb.com/thread-240523.html

Did it happen suddenly, out of the blue?
If so, what was done beforehand?
Which plugins are installed?
Has the file check been carried out in the ACP?
Have the templates been updated and checked?
Which Style is used?
It's the ö character in the "Söhne" font that's causing the problem. In font names, the MyBB parser only accept: alphanumeric characters, commas, dashes, single- and double-quote marks, and spaces.

If you want a quick and dirty fix, you can add that ö character to the regex on line #413 of inc/class_parser.php, so that it becomes:
			$nestable_callback_mycode['font']['regex'] = "#\[font=\\s*(\"?)([a-z0-9 ,\-_'ö\"]+)\\1\\s*\](.*?)\[/font\]#si";
A long-term fix would involve MyBB devs updating the regex for all valid characters in font names after investigating what they were (I would have to research that myself).