Fix escaping of html entities in permalinks.