From fdbc91e3c46f7e86393b555461a6984ae6f98f99 Mon Sep 17 00:00:00 2001 From: Eiichi Sato Date: Sun, 21 Dec 2014 02:20:28 +0900 Subject: [PATCH] HTML-escape jq programs in manual --- docs/templates/manual.liquid | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/templates/manual.liquid b/docs/templates/manual.liquid index af22fcad..33b8654b 100644 --- a/docs/templates/manual.liquid +++ b/docs/templates/manual.liquid @@ -70,8 +70,8 @@ {% for example in entry.examples %} - - + + {% unless example.output[0] %} @@ -85,7 +85,7 @@ {% else %} {% endif %} - + {% endfor %}
jq '{{example.program}}'
Input{{example.input}}
jq '{{example.program | escape}}'
Input{{example.input | escape}}
Output{{output}}{{output | escape}}