moved the template parsing inside a dedicated
function so that we remove some bookkeeping in HtmlState
also now HtmlState store a vector of SubTags (for the moment only
'RawHtml' type) so that the code is ready for the addition of new
inner tags