Issue #119: rescue SyntaxError for template