docs: function escapeHtml (s, replaceDoubleQuote) {
    if (s === 'undefined') {
      s = ''
    }
    if (typeof s !== 'string') {
      s = s + ''
    }
    s = s
      .replace(/&/g, '&amp;')
      .replace(/</g, '&lt;')
      .replace(/>/g, '&gt;')
    if (replaceDoubleQuote) {
      return s.replace(/"/g, '&quot;')
    }
    return s
  }