Topic: Text outside of template?

For some reason my text decides to go outside of the template itself. It doesn't break into a new line in the editor either, but instead continuing in the same line.
This happens when people comment the news too.
".handle_img_tag($matches[1].$matches[3], false)."

Anyone that had the same issue and knows how to fix this?