I have the below css that come as string from data base
string css = "div{width:200px}.abc{color:red}";
We will fetch this from database and will dump it in to a style tag in mvc view. I am getting the string but displaying as below:
<style type="text/css">
"div{width:200px}.abc{color:red}"
</style>
Where as it should display as :
<style type="text/css">
div{
width:200px
}
.abc{
color:red
}
</style>
Can some body advise how can I achieve this? I tried with dotless, but not able to use it because of the problem stated here :(Unable to use Less.Parse using dotless in c#)
Please advise??