"Fix" templates/includes/problem.inc.
authorJason Stephenson <jstephenson@mvlc.org>
Tue, 18 Aug 2015 14:32:34 +0000 (10:32 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Tue, 18 Aug 2015 14:32:34 +0000 (10:32 -0400)
During testing I noticed that the Problem messages had an extra
newline in the ProblemType field.  This apparently causes problems
for Auto-Graphics' parser, so this commit removes it.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>

templates/includes/problem.inc

index 336d4f8..7c221ff 100644 (file)
@@ -1,9 +1,9 @@
 <Problem>
 [% IF problem.Scheme -%]
 <ProblemType Scheme="[% problem.Scheme | xml %]">
-[% ELSE -%]
+[%- ELSE -%]
 <ProblemType>
-[% END -%]
+[%- END -%]
 [%- problem.ProblemType | xml %]</ProblemType>
 <ProblemDetail>[% problem.ProblemDetail | xml %]</ProblemDetail>
 <ProblemElement>[% problem.ProblemElement | xml %]</ProblemElement>