1
1
mirror of https://github.com/explosion/spaCy.git synced 2025-02-23 23:20:52 +03:00
Commit Graph

1 Commits

Author SHA1 Message Date
ansgar-t
9732988951 escape html in displacy.render () (closes )
## Description
Fix for issue  :
replace &, <, >, " with &amp;amp; , &amp;lt; , &amp;gt; , &amp;quot; in before rendering svg

## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I have submitted the spaCy Contributor Agreement.
- [ ] I ran the tests, and all new and existing tests passed.
(As discussed in the comments to )
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
2018-05-28 18:36:41 +02:00