Does the spec indictate how collections and other values should be rendered? #183
-
Consider a context object like this (in JSON notation):
and a Mustache template like:
Most JavaScript-based implementations produce output like:
However a prominent Java-based implementation produces output like:
Notable differences include:
Does the spec offer guidance on how these items should be rendered, or is this left up to implementations? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
How to render collections is left implementation-defined: Lines 23 to 24 in 83b221a That being said, null should interpolate as the empty string: Lines 104 to 120 in 83b221a |
Beta Was this translation helpful? Give feedback.
How to render collections is left implementation-defined:
spec/specs/interpolation.yml
Lines 23 to 24 in 83b221a
That being said, null should interpolate as the empty string:
spec/specs/interpolation.yml
Lines 104 to 120 in 83b221a