From 8da127b946b519a271a73dc6f337e97190a958c9 Mon Sep 17 00:00:00 2001 From: Dave Honneffer Date: Sun, 9 Feb 2020 16:09:52 +0100 Subject: [PATCH] Snippet fix - closes #90 --- UltiSnips/generate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UltiSnips/generate.py b/UltiSnips/generate.py index 2d10b5b..c33e66c 100755 --- a/UltiSnips/generate.py +++ b/UltiSnips/generate.py @@ -67,7 +67,7 @@ def to_snippet(document): snippet.insert(0, '%s:' % (document['module'])) else: snippet.insert(0, '%s:%s' % (document['module'], ' >' if len(snippet) else '')) - snippet.insert(0, 'snippet %s "%s" b' % (document['module'], document['short_description'])) + snippet.insert(0, 'snippet %s "%s" b' % (document['module'], document['short_description'].replace('"', ''))) snippet.append('') snippet.append('endsnippet') return "\n".join(snippet)