diff options
-rw-r--r-- | src/xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -81,7 +81,7 @@ int _write(struct mansession *s, struct message *m) { xml_quote_string(m->headers[i], xmlescaped); lpos = xmlescaped; dpos = strstr(lpos, ": "); - if (dpos) { + if (dpos && *(lpos)!= ' ') { strcpy(outstring, " <"); strncat(outstring, lpos, dpos-lpos); strcat(outstring, " Value=\""); |