spaCy/spacy/displacy
ansgar-t 9732988951 escape html in displacy.render (#2378) (closes #2361)
## Description
Fix for issue #2361 :
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 #2361)
- [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
..
__init__.py Add collapse_phrases option to displacy (closes #2266) 2018-04-28 23:06:50 +02:00
render.py escape html in displacy.render (#2378) (closes #2361) 2018-05-28 18:36:41 +02:00
templates.py Add letter spacing to arrow label 2017-06-03 13:25:41 +02:00