Fixed template transpilation issue related to XML-style closing tags