d07eb6be1d
Fixes a potential XSS vulnerability. Moved most test dependencies into optional-dependencies, added pygments which was needed in a test.