nh3
nh3 copied to clipboard
Access to the default URL schemes
trafficstars
It would be nice if the Python package could also expose ammonia’s default whitelisted URL schemes. If I understand the code correctly, this could easily be done by adding m.add("ALLOWED_URL_SCHEMES", a.clone_url_schemes())?; to the nh3 function.
Pull requests are welcome!