Bugfix: Wiki parser choked on templates in wrong spot