Actually, `<span data-foo>` is equivalent to `<span data-foo="">` (at least in Chrome and FF).

I couldn't think of a useful case for propagating null into the HTML output, so I have preserved the original behavior (=ignoring nulls).