rewriteHtml(html) {
    return html.replace(/'/g, '&#39;').replace(/="\//g, `="${this.options.host}/`)
  }
Rewrite the html by replacing the relative path with the absolute path and escaping the "'".
@param {string} html
@returns {string} The rewritten html.