Update Template.php

fixing bug with ooxml-tags inside pattern.