PathwayCommons / sbgnml-to-cytoscape

An npm module that converts xml based SBGN files to JSON for Cytoscape.js
MIT License
5 stars 2 forks source link

sanitize option #15

Closed d2fong closed 7 years ago

d2fong commented 7 years ago

allow users to specify whether or not they should sanitize input. https://github.com/nashwaan/xml-js#options-for-converting-xml--js-object--json should solve this issue in the comments:

https://github.com/PathwayCommons/sbgn-renderer/issues/45

d2fong commented 7 years ago

xml-js sanitize only works on text after it has converted. It does not sanitize before conversion