From 8379acdb7f665a52a096086423fc25cd7cdcbb24 Mon Sep 17 00:00:00 2001 From: Tomasz Sowa Date: Sun, 3 Aug 2014 18:33:07 +0000 Subject: [PATCH] fixed: item content should not be escaped in 'raw' mode (it was not escaped only when execute bits were set) git-svn-id: svn://ttmath.org/publicrep/winix/trunk@956 e52654a7-88a9-db11-a3e9-0013d4bc506e --- core/app.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/app.cpp b/core/app.cpp index 8e678eb..5fb7373 100755 --- a/core/app.cpp +++ b/core/app.cpp @@ -492,7 +492,8 @@ bool sent = false; { if( cur.request->function == &functions.fun_cat ) { - cur.request->out_streams[0] << cur.request->item.content; // !! CHECK ME is it ok? + TemplatesFunctions::item_print_content(cur.request->out_streams[0], + cur.request->item.content, cur.request->item.content_type); sent = true; } else