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
Gulp modifies areas of the dom that you don't ask it to. It tries to correct "missing" attributes and also html encodes many characters like greater than and less than. This behavior makes it impossible to use with html templates. Gulp-dom should only modify the elements that it is told to.
The text was updated successfully, but these errors were encountered:
Could you please provide a somewhat condensed example displaying this? At least a wrong output?
When that is said, this module are just a gulp wrapper around the jsdom which does all the tokenizing and parsing and in this process it will correct faulty html according to the given html spec.
I have similar issue. Is this solved?
For example, I don't have < html >< body > tags in my html file (since it's just a template, those tags are not needed), but after I use gulp-dom to modify one span, the above tags (< html >, < body >, etc) are added automatically. Is there any way to disable this?
Gulp modifies areas of the dom that you don't ask it to. It tries to correct "missing" attributes and also html encodes many characters like greater than and less than. This behavior makes it impossible to use with html templates. Gulp-dom should only modify the elements that it is told to.
The text was updated successfully, but these errors were encountered: