summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSamantha McVey <samantham@posteo.net>2016-11-11 13:34:19 -0800
committerSamantha McVey <samantham@posteo.net>2016-11-11 13:34:19 -0800
commitae1d18ad91a8563afe0e567f22912e6227be1a45 (patch)
treef6757bdd3fd958b74cfffffd2393f86eff719abe
parent0804650a9a50e51d3247cf1517040d63b1bb8f93 (diff)
[yaml/en] Fix #2558 1 is interpreted as a number not as a boolean. For a boolean use we use true
-rw-r--r--yaml.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/yaml.html.markdown b/yaml.html.markdown
index a1ef0d38..95adbd83 100644
--- a/yaml.html.markdown
+++ b/yaml.html.markdown
@@ -25,9 +25,9 @@ YAML doesn't allow literal tab characters at all.
key: value
another_key: Another value goes here.
a_number_value: 100
-# If you want to use number 1 as a value, you have to enclose it in quotes,
-# otherwise, YAML parser will assume that it is a boolean value of true.
scientific_notation: 1e+12
+# The number 1 will be interpreted as a number, not a boolean. if you want
+# it to be intepreted as a boolean, use true
boolean: true
null_value: null
key with spaces: value