Templater generates broken output file.

In my examples folder, I have a template named xml.docx, which contains a simple loop with a tag in it. Although Docxgen generates the output file with this template, it is broken. When I dug the output file, I found problem with document.xml. At many places, there were "&lt;/w:t&gt;&lt;/w:t&gt;" instead of just one occurrence, which eventually causes the broken output. I believe (not sure) extra closing tag is added by handleRecursiveCase() method. After playing with the template testing with different forms of xmls, I found the problem occurs only with extra &lt;/w:t&gt;(s) at multiple places. So without trying to change much of your code, I just scan through the xml generated, and replace double occurrence of &lt;/w:t&gt; with single. If you have a better solution, go ahead.
P.S The template was initially generated by word, and hence, the problem may arise with other users as well.