You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, as discovered through the process of investigating this issue, I'm getting "Invalid character in entity name" or " Invalid attribute name" errors with the following numeric character references (hex or dec) representing < or &, where it should not:
constSAX=require('@trysound/sax');constsax=SAX.parser(true,{strict: true,trim: false,normalize: false,lowercase: true,xmlns: true,position: true,});sax.onerror=(e)=>{console.error('Erred',e);};sax.write(// Neither of these work (< and &, respectfully):// <svg><text class="< and <">< and <</text></svg>'<svg><text class="& and &">& and &</text></svg>').close();
The text was updated successfully, but these errors were encountered:
brettz9
added a commit
to brettz9/sax
that referenced
this issue
Dec 23, 2021
Hi,
Appreciate the tool!
However, as discovered through the process of investigating this issue, I'm getting "Invalid character in entity name" or " Invalid attribute name" errors with the following numeric character references (hex or dec) representing
<
or&
, where it should not:The text was updated successfully, but these errors were encountered: