I have a stylesheet stored as a string which I’m trying to add to a parsed HtmlDocument using the Html Agility Pack. I can’t set the InnerText of a style node because it has no setter. What’s the best way of doing this?
I have a stylesheet stored as a string which I’m trying to add to
Share
Untested, but should give you the idea: