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
I have a small device with a simple built-in web server, so no Linux + Apache etc. The device generates single-file web pages with status information and configuration settings.
I have automated HTML linting inside Emacs: the web page is downloaded first with 'curl', then linted with 'tidy'. The results are displayed in the compilation window, as if they were C++ compilation warnings.
Those web pages have CSS inside several <style> tags, and I would like to lint the generated CSS too.
Unfortunately, csslint cannot lint inside HTML.
I could try to write some script to extract the contents of the <style> tags, but then the position of the warnings (the line numbers) would not match the original HTML file.
It would be nice if csslint could lint the contents of the HTML <style> tags directly.
The text was updated successfully, but these errors were encountered:
I have a small device with a simple built-in web server, so no Linux + Apache etc. The device generates single-file web pages with status information and configuration settings.
I have automated HTML linting inside Emacs: the web page is downloaded first with 'curl', then linted with 'tidy'. The results are displayed in the compilation window, as if they were C++ compilation warnings.
Those web pages have CSS inside several <style> tags, and I would like to lint the generated CSS too.
Unfortunately, csslint cannot lint inside HTML.
I could try to write some script to extract the contents of the <style> tags, but then the position of the warnings (the line numbers) would not match the original HTML file.
It would be nice if csslint could lint the contents of the HTML <style> tags directly.
The text was updated successfully, but these errors were encountered: