Hi,
I trying to build Twitter bootstrap on the Play Framework using scalatags instead of the default Twirl template (
http://getbootstrap.com/getting-started/ )
It requires I generate the following conditional comment within the HTML -
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
I haven't been able to find a tag to do this within scalatags, and I tried to put the raw string into the Text.Modifier however
it gets HTML escaped therefore does not become a comment and is displayed on the screen.
The text gets escaped....
body(
h1("mock up")
,"<!-- this is a comment test -->"
)
What is the correct way to get comments and conditional comments into the HTML using scalatags.
Thanks
Mark