Open granthusbands opened 9 years ago
http://dabblet.com/gist/45356b16afbb9993619d contains an example. The important part is: <div style="background: url('http://dabblet.com/img/noise.png');)"> </div> <div style="background: url("http://dabblet.com/img/noise.png")"> </div> <div style="background-color: hsl(220,60%,80%)"> </div> The first one is trivially handled correctly. The other two fail, due to the " and %.
Since it depends on the prism project you can test the script at http://prismjs.com/test.html and report any issue on the highlighting to the Prism git
http://dabblet.com/gist/45356b16afbb9993619d contains an example. The important part is: <div style="background: url('http://dabblet.com/img/noise.png');)"> </div> <div style="background: url("http://dabblet.com/img/noise.png")"> </div> <div style="background-color: hsl(220,60%,80%)"> </div> The first one is trivially handled correctly. The other two fail, due to the " and %.