Fix attribute generation in HTMLIFY

The previous attribute format string, `~{~{~A=~S~^ ~}~}`, did not write a
space between successive attributes. The correct format string is
`~{~{~A=~S~}~^ ~}`.