1
1
mirror of https://github.com/explosion/spaCy.git synced 2025-04-06 02:04:13 +03:00
spaCy/spacy/displacy
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
..
__init__.py Add collapse_phrases option to displacy (closes ) 2018-04-28 23:06:50 +02:00
render.py escape html in displacy.render () (closes ) 2018-05-28 18:36:41 +02:00
templates.py Add letter spacing to arrow label 2017-06-03 13:25:41 +02:00