A tour of how the Widget (Virtual DOM) code in Discourse works

How can I render html coming from an argument into the widget? Right now it is escaping the HTML and rendering it as it is.

Also the following example is not working:

It seems like the user variable is null. Do I have to do something to pass user into the hbs from where the widget is mounted?