-
Notifications
You must be signed in to change notification settings - Fork 410
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
Make tidy generate an error/warning if there are angle brackets #723
Comments
@petdance yes, this is one of the silent fixes There are several previous issues talking about these As mentioned elsewhere, basically tidy has at least 3 phases - 1. parse input, 2. clean nodes, and 3. pretty print nodes... While there can be fixes/changes made in each stage, at present only 1 and 2 issue warnings. That is call Although there may still be some Thus, at present, fixes done in stage 3, output, all in the Certainly Was this a Is it time to change this? Look forward to further feedback, particularly patches or PR, to show how this would look, if yes is the answer to that question... thanks... |
For me and my use case, I don't ever use the tidied HTML. I only use Tidy to find problems that I then clean up myself, or to show errors in our CI test suite. |
@petdance thanks for the additional information... The fact that in your use case, of not using the tidied html, that is using the Given the added complexity, especially to not break anything, and the fact that no coding has been started yet, am adding an indefinite milestone... this can change if and when things progress... Look forward to furher feedback, patches or PR... thanks... |
I was surprised that Tidy did not complain about the
<
and>
on line 8.The
-e
showed no errors, and tidy just automatically converted>
to>
and<
to<
. I was expecting it to complain. Or did I miss a config option?The text was updated successfully, but these errors were encountered: