Preserve non-template content found in parsed string

The non-template content is ignored when parsing but
can be retrieved from the parsing result