Scoper is ignoring closing </style> tag
Pjino opened this issue · comments
I've been using scoper and it has been working well. But today I got a strange behavior that breaks the code. I have:
<a href="'+pagelink+'" target="_blank"> <img src="'+imgpath+'" class="extLinkImg"> <style scoped> .extLinkImg { width: 35px; height: 35px; margin:10px; } <\style> </a>
And I see in the console that what is being put in the head <style> is:
#scoper-2 .extLinkImg { width: 35px; height: 35px; margin:10px; } <style> </a>
It seems that scoper is not seeing the ending / in the closing tag...
I tried the same code inside a wrapping div and is the same. Do you have any clue why this is happening?
Sorry! Stupid issue: wrong closing tag!!!! (automatic replacement attacking :)