Convert insert tags before assigning the page title to the template (see #7097)