Open keleshev opened 9 years ago
Write CsQuery.Config.OutputFormatter = OutputFormatters.HtmlEncodingNone; before any CQ use.
@alexander1986 thanks, that makes output of .InnerText
similar to .Text()
. Although I wish I could get the exact behavior of jQuery.
I'm trying to get inner text of a node, however
.InnerText
property seems to misbehave:Compare to jQuery:
At the same time
Text()
seems to work closer to jQuery:Do you have a suggestion on how can I want to achieve behaviour similar to jQuery?