On Thu, Sep 13, 2012 at 8:31 AM, Dario Taraborelli < dtaraborelli@wikimedia.org> wrote:
that's fantastic, is there any plan to support some basic markup/HTML parsing in the message - or is it not within the scope of this type of notifications?
I asked about this on wikitech. Daniel Friesen's answer:
mw.notify accepts DOM nodes and jQuery objects. So you can add in whatever
html you want by parsing it into dom. mw.notify also accepts mw.Message objects so you can use `mw.notify(mw.message( 'foo' ) );` and it'll be parsed.
http://lists.wikimedia.org/pipermail/wikitech-l/2012-September/063189.html