Fixed parse error in TemplateRender.php

Fixed typo on 1682 - parse issue, non escaped " ' " causing error to be thrown