-
Notifications
You must be signed in to change notification settings - Fork 418
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
markup inside a <code> block should be ignored. #94
Comments
Thanks for your post... As you may know the current development branch is develop-500 Tidy does understand 'something' about pre and code, and
This passes through tidy without problems, and the W3C validators... However, I can not find any W3C documentation that says
Validator says: Tidy5 says: So I have to ask what are you expecting here? Can you construct a |
That's invalid HTML, and looks like the old IE xml data islands except for the use of If instead you're trying to display the content of the code block (rather than trying to have the browser render that code), then that's not the purpose of a code block; it doesn't just display code literally. You'll have to turn it into HTML. I'll close this. Feel free to reopen this if you have an explanation that we're failing to understand. |
Oops. Meant to close this 9 days ago, but didn't receive any feedback from @imaginator and so will close it now. Please feel free to reopen the issue if you come back. Thanks. |
Running tidyHTML complains about the contents inside of a
tag.
Ideally it should ignore this code entirely.
For example:
The text was updated successfully, but these errors were encountered: