From bdde641a80d922e63e6c712eea43e44b24b2b2b9 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Thu, 15 Feb 2024 14:45:24 -0700 Subject: [PATCH] add quotes subs if run jetty output starts with double asterisk --- lib/jetty-block.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/jetty-block.js b/lib/jetty-block.js index 0fceba8..5e35cf9 100644 --- a/lib/jetty-block.js +++ b/lib/jetty-block.js @@ -69,6 +69,7 @@ function createExtensionGroup (context) { const includeContents = execFileSync('java', args, { stdio: 'pipe', windowsHide: true }).toString().trim() if (includeContents) { //console.log(includeContents) + if (includeContents.startsWith('**')) attrs.subs = '+quotes' return this.createBlock(parent, 'literal', includeContents, attrs) } else { log(doc, 'error', `${MAIN_CLASS} no output`, cursor)