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

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