-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CQ.Create dosent include comment text, only the start <!-- and end --> comment tags. #59
Comments
Will look into this today or tomorrow - thanks for the bug report. This appears straightforward. |
A small test that reproduces the issue
outtext = Seems to be somewhere in the HTMLParserSharp code.... |
You mean it is altering whitespace outside of comments? |
Sorry GIT, because the intext and outtext in my example is in HTML github is formatting it rather than displaying :( |
Fixed in latest push. Nuget is not updated yet, but you can use the builds from ehre. Sorry about the time to get this corrected - busy time! |
Confirmed Working.. Thanks |
We are using 1.3.1 from NuGet.
var doc = CQ.Create(content, HtmlParsingMode.Document, HtmlParsingOptions.None);
The causes the comment tags to be included, but the not the actual comments. Our use case requires that we include the comments, as we are using this for inline Styling for emails.
Have confirmed the when IgnoreComments is set, not even the comment tags are included.
The text was updated successfully, but these errors were encountered: