prevent potential markup break when inserting titles containing double quotes