I have a button that gets used as a popover with Twitter's bootstrap.
button(data.content := h1("an example of html").render, data.toggle="popover")("click here")
I want to have some html code in the content of the popover, so I need to pass html to the data.toggle atribute, however this prints the html code out plain, because of scalatags preventing XSS. How can I prevent this / how else can I get this effect?
This is gnarly but it'll do what you want. I'm not sure there's a nicer way.