Index: htmldoc-1.9.18/htmldoc/ps-pdf.cxx =================================================================== --- htmldoc-1.9.18.orig/htmldoc/ps-pdf.cxx +++ htmldoc-1.9.18/htmldoc/ps-pdf.cxx @@ -5234,7 +5234,7 @@ parse_paragraph(tree_t *t, /* I - Tree t if (temp->markup != MARKUP_A) break; - if (temp != NULL && temp->markup == MARKUP_NONE && temp->data[0] == ' ') + if (temp != NULL && temp->markup == MARKUP_NONE && temp->data[0] == ' ' && temp->data[1]) { // Drop leading space... for (dataptr = temp->data; *dataptr; dataptr ++)