Fix 'escapeHtml' missing in older Api-versions