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~}~^ ~}.
Merge pull request #4 from scymtym/master

Fix attribute generation in HTMLIFY