James Treworgy

Results 106 comments of James Treworgy

Looks like most of `js/app.js` is 3rd party stuff, the original code is only about 150 lines (deobfuscated) after Prism.js. Could probably be cleaned up pretty easily. There hasn't been...

This would probably not be too hard to support, but any nonstandard syntax would break linting and so on. I really want this to be 100% drop-in compatible. There are...

Try the `InnerText` method -- ported from the nonstandard IE DOM element method, but I kept it around because it does something much like that. e.g. ``` CQ selection =...

A couple things: - If you post your actual code and markup, you will have a much better chance of getting a response. There is absolutely no way for anyone...

The angle brackets are quoted, they don't need to transformed. That validates fine. The & is a problem.

CsQuery is a parser.. Though this is really HtmlParser at work here for the input When it loads a document it stores the actual value and not whatever representation created...

The code is [here](https://github.com/jamietre/CsQuery/blob/696ac0533a3e665a34cdc4050d1f46e91f5a3356/source/CsQuery/HtmlParser/HtmlData.cs) ``` public static string AttributeEncode(string text, bool alwaysQuote, out string quoteChar)... ``` It handles the quote context, but not the ampersand. The ampersand is the only...

This is an output rendering option. The default is to encode characters that aren't part of the base ASCII set as their HTML entities. You can specify alternative ways to...

Are you saying that _only_ when parsing inside the construct like above does this happen? Or if you just try passing the same HTML into CsQuery does it also produce...

Just to be sure it's not something already fixed, please update to the pre-release package: https://www.nuget.org/packages/CsQuery/1.3.5-beta5 If that doesn't change things see if you can create a repro and I...