message: fix(decodeString): updated decode-string to work on server-side rendering
  While creating a new Next.js page, I've noticed that DomParser is not supported on a server side rendered page, this updates change the implementation of decodeString to fix this issue.
diff: *
  */
  function decodeString(str) {
  - const parser = new DOMParser();
  - return parser.parseFromString(`<!doctype html><body>${str}`, 'text/html').body
  - .textContent;
  + const div = document.createElement('div');
  + div.innerHTML = str;
  + return div.textContent;
  }
  export default decodeString;
  