Closed NV closed 11 years ago
I saw this, but I'm not quite sure what to do. While I agree with you (and asset bundler is already pretty opinionated), after having the last PR using an XHTML 1.0 DOCTYPE, is foisting the latest standard the thing to do? Would it work? Should in every browser... Does validation matter? Most people don't think so.
Could make it an option, or auto detect the page doctype... but that seems like an overly complicated solution.
HTML5 allows to omit:
type="text/javascript"
for script tagstype="text/css"
for<link rel=stylesheet
rel="stylesheet"
/>
for linkIt is totally cross-browser. Google uses the same technique.