From 9a4b898a270fd22e249021cb04c0d4588ca3ca51 Mon Sep 17 00:00:00 2001 From: Henning Stahlke Date: Sun, 6 Jan 2019 21:06:30 +0100 Subject: [PATCH] svg.nas use setText method --- Nasal/canvas/svg.nas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nasal/canvas/svg.nas b/Nasal/canvas/svg.nas index e1914bbdd..81e58ad36 100644 --- a/Nasal/canvas/svg.nas +++ b/Nasal/canvas/svg.nas @@ -725,7 +725,7 @@ var parsesvg = func(group, path, options = nil) id = tspan.attr['id']; pushElement('text', id); - stack[-1].set("text", tspan.text); + stack[-1].setText(tspan.text); if( x != 0 or y != 0 ) stack[-1].setTranslation(x, y);