Extend the HTML rendering mechanism to support attributes specified as macro invocations