File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ Mismatch between section-start and section-end:
9898 $ mustache foo. json $ PROBLEM
9999 Template parse error:
100100 File " foo-bar.mustache" , lines 1 -2, characters 23 -0:
101- Mismatched section ' foo' with ' bar' .
101+ Section mismatch : {{ # foo}} is closed by {{/ bar}} .
102102 [3 ]
103103
104104 $ PROBLEM= foo-not-closed. mustache
@@ -113,5 +113,5 @@ Mismatch between section-start and section-end:
113113 $ mustache foo. json $ PROBLEM
114114 Template parse error:
115115 File " wrong-nesting.mustache" , lines 1 -2, characters 41 -0:
116- Mismatched section ' foo' with ' bar' .
116+ Section mismatch : {{ # foo}} is closed by {{/ bar}} .
117117 [3 ]
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ let pp_template_parse_error ppf ({ loc; kind; } : template_parse_error) =
219219 | Parsing ->
220220 p ppf " syntax error"
221221 | Mismatched_section { start_name; end_name } ->
222- p ppf " Mismatched section '%a' with '%a' "
222+ p ppf " Section mismatch: {{#%a}} is closed by {{/%a}} "
223223 pp_dotted_name start_name
224224 pp_dotted_name end_name
225225 end ;
You can’t perform that action at this time.
0 commit comments