From 0caa27023c88aa63b700d48e7c1ce82c8489717b Mon Sep 17 00:00:00 2001 From: Jeff Parsons Date: Mon, 6 Feb 2017 18:06:40 -0800 Subject: [PATCH] Fixed handling of quotation marks inside script "one-liners" --- _includes/machine-command.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/machine-command.html b/_includes/machine-command.html index 4b9a49610..c54cf88d1 100644 --- a/_includes/machine-command.html +++ b/_includes/machine-command.html @@ -19,4 +19,4 @@ should generate something like this: {% endcomment %} -{% if page.commands[include.command] != nil %}{% assign machine_command = "script" %}{% capture command_value %}{{ page.commands[include.command] | replace:'"','"' | strip }}{% endcapture %}{% else %}{% capture machine_command %}{{ include.command }}{% endcapture %}{% capture command_value %}{{ include.value }}{% endcapture %}{% endif %}{% if include.type == "button" %}{% else %}{% endif %} +{% if page.commands[include.command] != nil %}{% assign machine_command = "script" %}{% capture command_value %}{{ page.commands[include.command] | replace:'"','"' | strip }}{% endcapture %}{% else %}{% capture machine_command %}{{ include.command }}{% endcapture %}{% capture command_value %}{{ include.value | replace:'"','"' }}{% endcapture %}{% endif %}{% if include.type == "button" %}{% else %}{% endif %}