Fixed bug where content got cut of when parsing in the template