You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmmm... I was left it in so that rendering was as close to the original as possible. I think if we were to ignore it, we'd need to provide an option to run the output through an HTML tidy.
I think we should ignore white spaces as they create unnecessary overhead when filtering text nodes, traversing etc, and implement a tidy output option like you suggested.
Also, I'm not sure if this is consistent with jQuery/intended behavior but with this option on, text nodes are often returned by next() and prev() methods, rather than the next element.
I don't particularly see any benefit to not having this option set. Is there any reason this wasn't set already?
The text was updated successfully, but these errors were encountered: