Skip to content
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

End Tag (/) removed from <link> #639

Closed
sathishk opened this issue Aug 25, 2014 · 2 comments
Closed

End Tag (/) removed from <link> #639

sathishk opened this issue Aug 25, 2014 · 2 comments

Comments

@sathishk
Copy link

We use HTML 5 based template engine (Thymeleaf), which will use strict mode to validate HTML documents. In short, At run time, they validate whether all HTML tags are closed properly like in XMLs. Consider we have below code inside our HTML

<link rel="stylesheet" href="styles/main.css"/>

Once I run gulp build ( i used generator-gulp-angular), I noticed that, in the dist folder, the above HTML code becomes

<link rel="stylesheet" href="styles/main.css">

without the '/' at the end which will be considered as unclosed tag.

@sindresorhus
Copy link
Contributor

Not the right place. Figure out which gulp plugin modifies the HTML and ask on StackOverflow ;)

@sathishk
Copy link
Author

Found that this issue comes from gulp-useref (https://github.com/jonkemp/gulp-useref) plugin. I raised a new defect jonkemp/gulp-useref#57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants