Chris Weldon bio photo

Chris Weldon

A savvy software engineer and agilist, Chris slings code in C#, but has also been known for commanding fleets of systems. He's currently a Tech Lead at Wolters Kluwer.

Email Twitter Facebook Github

Well, I just upgraded Serendipity to v1.1 . Additionally, I decided to pick a new theme which I’m pretty happy with. FINALLY, I figured out my problem with the code snippets causing code to spill outside the theme range…it was because of the bbcode module.

For an others out there having this problem, open up the following file:

serendipity_event_bbcode/serendipity_event_bbcode.php

and remove the one line that has   in it. That replaces spaces with that code. The issue is that when code would normally wrap to multiple lines, this will force it outsdie the standard bounds of the block because it’s all one nice long string.