From d7444bae9477755fdece66c5dab13de09fb3d9b1 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sat, 12 Oct 2019 19:40:04 +0200 Subject: Escape quotes in description --- lib/template.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/template.js b/lib/template.js index c1446a9..9664d88 100644 --- a/lib/template.js +++ b/lib/template.js @@ -77,7 +77,7 @@ buildNpmPackage { ${source} meta = { - description = "${pkg.description || ''}"; + description = ${JSON.stringify (pkg.description || '')}; homepage = "${pkg.homepage || ''}"; license = "${pkg.license || ''}"; }; -- cgit v1.2.3