Closed bworrell closed 9 years ago
If an id in the STIX content contains a period ., then the stix-to-html javascript logs errors regarding document.querySelector().
.
document.querySelector()
In testing, I resolved this by escaping the periods before passing it to the querySelector() method (much like what is done with : characters).
querySelector()
:
some_id = some_id.split(".").join("\\.").;
If an id in the STIX content contains a period
.
, then the stix-to-html javascript logs errors regardingdocument.querySelector()
.In testing, I resolved this by escaping the periods before passing it to the
querySelector()
method (much like what is done with:
characters).