* when X-escaping translate linebreaks too.
authorWilfried Göesgens <willi@citadel.org>
Mon, 26 Jan 2009 23:25:41 +0000 (23:25 +0000)
committerWilfried Göesgens <willi@citadel.org>
Mon, 26 Jan 2009 23:25:41 +0000 (23:25 +0000)
webcit/subst.c

index 8dda6fb0d44124e4c3417060ba04565094d872c9..e4785f013665de55932dd7cab85315f26d26bcdd 100644 (file)
@@ -884,7 +884,7 @@ void StrBufAppendTemplate(StrBuf *Target,
                                      Source, 
                                      (WCC!=NULL)? WCC->DefaultCharset : NULL, 
                                      NULL);
-               StrEscAppend(Target, Buf, NULL, 0, 0);
+               StrEscAppend(Target, Buf, NULL, 0, 2);
                FreeStrBuf(&Buf);
                break;
        case 'X':