]> granicus.if.org Git - jq/commitdiff
Fix invalid YAML in manual.yml
authorZhiming Wang <zmwangx@gmail.com>
Wed, 9 Jul 2014 03:32:00 +0000 (20:32 -0700)
committerNicolas Williams <nico@cryptonector.com>
Wed, 9 Jul 2014 06:12:23 +0000 (01:12 -0500)
Grave accent "`" is a reserved indicator in YAML per
http://www.yaml.org/spec/1.2/spec.html#id2774228, so it can't start a
plain scalar. This commit applies quoting to titles beginning with
grave accents.

Signed-off-by: Nicolas Williams <nico@cryptonector.com>
docs/content/3.manual/manual.yml

index 2970ea83fd96cdf59130a6ee31596907e7391e1e..ea5cc82533c3bbf9d2eb4232e3b47223f1152105 100644 (file)
@@ -1637,7 +1637,7 @@ sections:
             input: 'true'
             output: ['"some exception"']
 
-      - title: `?` operator
+      - title: "`?` operator"
         body: |
 
           The `?` operator, used as `EXP?`, is shorthand for `try EXP`.
@@ -1821,7 +1821,7 @@ sections:
             input: '[10,2,5,3]'
             output: ['20']
 
-      - title: `limit(n; exp)`
+      - title: "`limit(n; exp)`"
         body: |
 
           The `limit` function extracts up to `n` outputs from `exp`.
@@ -1831,7 +1831,7 @@ sections:
             input: '[0,1,2,3,4,5,6,7,8,9]'
             output: ['[0,1,2]']
 
-      - title: `foreach`
+      - title: "`foreach`"
         body: |
 
           The `foreach` syntax is similar to `reduce`, but intended to