--- ../SGML.c Sat Feb 17 16:51:47 2007 +++ ./SGML.c Sat Feb 17 16:52:43 2007 @@ -3521,9 +3521,11 @@ LYUpperCase(string->data); } PUTS(string->data); + if (c == ' ') + PUTC(' '); if (c == '=') PUTC('='); - if (c == '=' || c == '>') { + if (c == ' ' || c == '=' || c == '>') { if (context->current_attribute_number == INVALID) PSRCSTOP(badattr); else