I was doing this wrong

This was yielding non-valid HTML