Shinmera/plump

Spaces in attributes

Closed this issue · 3 comments

Spaces between attribute names, values, and equals signs are perfectly legal syntax for both HTML and XML:

<a href = "bar"></a>

But Plump mangles them:

(plump:serialize (plump:parse "<a href = \"bar\"></a>"))
=> <a ="" href="" "bar"=""/>

I'm quite embarrassed that this escaped me for so long. I'll get to a fix today, thanks for reporting.

If you could confirm the fix and close the ticket if it works for you without having introduced new problems, that would be great.

Fix confirmed.