Hi all,
When loading a document with html:parse(), an extra attribute is added to every <a/> element.
<a href="abc"></a> becomes <a shape="rect" href="abc"></a>
This error is even shown in the example on the wiki: https://docs.basex.org/wiki/HTML_Module
It turns out this behaviour can be avoided by using the 'nodefaults" option of TagSoup:
html:doc($uri, map { 'nodefaults': true() })
That's a lot faster than removing these attributes from loaded document.
⤳Jos