Ref #88: only call unHtml on attributes if not nil

This fixes a small bug that threw an error when loading a website with boolean attributes (with no attribute value).