From 4aaa607b8d227ac7acb335636f4bc4775a3440f5 Mon Sep 17 00:00:00 2001 From: ines Date: Sun, 14 May 2017 19:54:13 +0200 Subject: [PATCH] Add xmlns:xlink so SVGs are rendered properly as individual files --- spacy/displacy/templates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/displacy/templates.py b/spacy/displacy/templates.py index bdbdee459..54df44489 100644 --- a/spacy/displacy/templates.py +++ b/spacy/displacy/templates.py @@ -6,7 +6,7 @@ from __future__ import unicode_literals # Jupyter to render it properly in a cell TPL_DEP_SVG = """ -{content} +{content} """