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
Is there any way to tell the validator to skip over php tags? The project I'm currently working on relies heavily on php includes for factorization, but the files are otherwise 99% html.
The validator runs flawless on php files, I just need it to ignore whatever is between
Any ideas?
The text was updated successfully, but these errors were encountered:
Thanks for the suggestion, I got it to work using grunt-php2html to parse all php files into my .tmp folder and run htmlhint in there.
The only drawback is that (obviously) line numbers are off as the line numbers in my IDE no longer match the parsed html files in .tmp.
Can't think of any workaround right now, but any further suggestions would be much appreciated :)
Is there any way to tell the validator to skip over php tags? The project I'm currently working on relies heavily on php includes for factorization, but the files are otherwise 99% html.
The validator runs flawless on php files, I just need it to ignore whatever is between
Any ideas?
The text was updated successfully, but these errors were encountered: