BBCodeMonkey: added some internal test
TemplateParser: fixed a bug where comments would appear inside of a tag