
        document.getElementsByTagName('body')[0].appendChild(div);
        throw new Error('XSS Succeeded');
      }

      //       var diagram = `  graph TD
      // A --> B["&lt;a href='javascript`;
      // diagram += `ript#colon;xssAttack()'&gt;AAA&lt;/a&gt;"]`;
      let diagram = `  graph TD
      A --> B["<a href='javasc`;
      diagram += `ript#9;t#colon;xssAttack()'>AAA</a>"]`;
      // diagram += '//via.placeholder.com/64\' width=64 />"]';
      // document.querySelector('#diagram').innerHTML = 