fixes #5026 showing &#39; HTML code of single quote character instead of symbol in page titles