X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhoutsbr.c;h=ba883196108c77a42dd5e81257615d9cc2a51005;hp=21c2e26318b68f5d5011bcc73f29f2d6a3188ff3;hb=92e279e1255b12b02a2faede6e1d66b46f731807;hpb=c6cf5c38fb74a2399cc656357be571f1669a36d1 diff --git a/uip/mhoutsbr.c b/uip/mhoutsbr.c index 21c2e26..ba88319 100644 --- a/uip/mhoutsbr.c +++ b/uip/mhoutsbr.c @@ -241,8 +241,16 @@ writeQuoted(CT ct, FILE *out) break; default: - if (*cp < '!' || *cp > '~') + if (*cp < '!' || *cp > '~') { goto three_print; + } + if (n == 0 && *cp == '.') { + /* + ** encode dot at start of line, + ** because it could be alone ... + */ + goto three_print; + } putc(*cp, out); n++; break;