mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
0566c3a166
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). |
||
---|---|---|
.. | ||
__init__.py | ||
render.py | ||
templates.py |