spaCy/spacy/displacy
Connor Brinton 0566c3a166
🐛 Escape annotated HTML tags in span renderer (#12817)
These changes add a missing call to `escape_html` in the displaCy span
renderer. Previously span-annotated tokens would be inserted into the
page markup without being escaped, resulting in potentially incorrect
rendering. When I encountered this issue, it resulted in some docs and
span underlines being superimposed on top of properly rendered docs and
span underlines near the beginning of the visualization (due to an
unescaped `<span>` tag).
2023-07-13 17:33:05 +02:00
..
__init__.py Configure isort to use the Black profile, recursively isort the spacy module (#12721) 2023-06-14 17:48:41 +02:00
render.py 🐛 Escape annotated HTML tags in span renderer (#12817) 2023-07-13 17:33:05 +02:00
templates.py fix to horizontal space (#10994) 2022-06-28 20:42:40 +02:00