summaryrefslogtreecommitdiffhomepage
path: root/libs/web/src/template_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/web/src/template_parser.c')
-rw-r--r--libs/web/src/template_parser.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/web/src/template_parser.c b/libs/web/src/template_parser.c
index 9618919b3..fe324cedc 100644
--- a/libs/web/src/template_parser.c
+++ b/libs/web/src/template_parser.c
@@ -21,12 +21,12 @@
/* leading and trailing code for different types */
const char * gen_code[6][2] = {
- { "write(\"", "\")" },
- { NULL, NULL },
- { "write(tostring(", "))" },
- { "include(\"", "\")" },
- { "write(translate(\"", "\"))" },
- { NULL, " " }
+ { "write(\"", "\")" },
+ { NULL, NULL },
+ { "write(tostring(", " or \"\"))" },
+ { "include(\"", "\")" },
+ { "write(translate(\"", "\"))" },
+ { NULL, " " }
};
/* Simple strstr() like function that takes len arguments for both haystack and needle. */