Log Message: ----------- another case of incomplete escaping: element space dot Modified Files: -------------- docbook2mdoc: macro.c Revision Data ------------- Index: macro.c =================================================================== RCS file: /home/cvs/mdocml/docbook2mdoc/macro.c,v retrieving revision 1.10 retrieving revision 1.11 diff -Lmacro.c -Lmacro.c -u -p -r1.10 -r1.11 --- macro.c +++ macro.c @@ -216,8 +216,6 @@ print_text(struct format *f, const char { switch (f->linestate) { case LINE_NEW: - if (*word == '.' || *word == '\'') - fputs("\\&", stdout); break; case LINE_TEXT: if (flags & ARG_SPACE) @@ -227,6 +225,8 @@ print_text(struct format *f, const char macro_close(f); break; } + if (f->linestate == LINE_NEW && (*word == '.' || *word == '\'')) + fputs("\\&", stdout); while (*word != '\0') { putchar(*word); if (*word++ == '\\') -- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv