From d7ef7c353c5e18fdad2e3fa37e32167f788f4f62 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Thu, 1 Feb 2018 14:08:28 -0800 Subject: [PATCH] typo in generated filter --- sim/visuals/nodes/moduleView.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim/visuals/nodes/moduleView.ts b/sim/visuals/nodes/moduleView.ts index ede63633..b9d2adc0 100644 --- a/sim/visuals/nodes/moduleView.ts +++ b/sim/visuals/nodes/moduleView.ts @@ -18,7 +18,7 @@ namespace pxsim.visuals { return `id="${this.normalizeId(id)}"`; }); xml = xml.replace(/url\(#(.*?)\)/g, (m: string, id: string) => { - return `url(#${this.normalizeId(id)}`; + return `url(#${this.normalizeId(id)})`; }); xml = xml.replace(/xlink:href=\"#(.*?)\"/g, (m: string, id: string) => { return `xlink:href="#${this.normalizeId(id)}"`;