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 %}