Fix #88: Run asUnHtml only once when attributes are set.