From ce8c292271117d785135c99a1595a3066cf1636a Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 5 Aug 2009 00:53:43 +0000 Subject: [PATCH] luci-0.9: merge r5195 --- libs/web/src/template_parser.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libs/web/src/template_parser.c b/libs/web/src/template_parser.c index 9618919b30..fe324cedc8 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. */ -- 2.30.2