djlint / djLint

✨ HTML Template Linter and Formatter. Django - Jinja - Nunjucks - Handlebars - GoLang
https://djLint.com
GNU General Public License v3.0
664 stars 81 forks source link

fix(H016): Allow attributes on <title> #830

Closed francoisfreitag closed 1 month ago

francoisfreitag commented 4 months ago

From https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title:

This element only includes the global attributes.

I picked those that seemed reasonable from https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#list_of_global_attributes

Pull Request Check List

netlify[bot] commented 4 months ago

Deploy Preview for djlint ready!

Name Link
Latest commit cb02a10e0047af5e68842aa1076aa694b48de843
Latest deploy log https://app.netlify.com/sites/djlint/deploys/6620bcaa5aa1d60008013f10
Deploy Preview https://deploy-preview-830--djlint.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

monosans commented 1 month ago

Thank you!