From: Jo-Philipp Wich Date: Wed, 5 Aug 2009 00:53:43 +0000 (+0000) Subject: luci-0.9: merge r5195 X-Git-Tag: 0.9.0~138 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ce8c292271117d785135c99a1595a3066cf1636a;p=oweals%2Fluci.git luci-0.9: merge r5195 --- 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. */