Scenario
I have created a simple iframe which i am dynamically generating from user provided HTML and CSS.
JSfiddle
https://jsfiddle.net/jaup3769/1/
Problem
Whenever I use the '#' symbol, CSS parsing is stopped beyond that point.
p#para1{
}
won't parse beyond p#
Similarly,
p{
color: green;
background-color: #ff0000;
}
won't parse beyond background-color: #
What might be the issue?