Check the wiki for an example HTML Tidy script. I don't know much beyond that, so you'd probably need to go to Tidy's website and look for reference material on configuring the checker.
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks, only problem is that it's also correcting the HTML for me. Even if I just highlight a selection, it still inserts stuff like </body> and </html> at the end. I simply need something that will tell me that I'm wrong, not correct it. I sometimes use PHP includes which do not need either <body> or <html> tags.
But the most important thing would be pure formatting. Is there a way to simply format a document with auto indents with out completing syntax mistakes?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can instuct HTML Tidy to do what you want (no correction and formatting) using its .cfg file. You'll have to check the HTML Tidy website for the proper mix of options to put in tidy.cfg.
I also noticed a TextFX -> Convert -> Submit to W3C HTML validator entry. But that may not be what you want, from your last post.
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there a way to have Notepad++ to warn you when you make a syntax error? For example let say I open the <body> tag but forget to close it.
Check the wiki for an example HTML Tidy script. I don't know much beyond that, so you'd probably need to go to Tidy's website and look for reference material on configuring the checker.
CChris
TextFx -> TextFX HTML Tag -> Tidy (most recent HTMLTIDY.CFG)
You get a <instal dir>\plugins\config\tidy\HTMLTIDY.ERR plain text file, and your document is corrected.
CChris
Thanks, only problem is that it's also correcting the HTML for me. Even if I just highlight a selection, it still inserts stuff like </body> and </html> at the end. I simply need something that will tell me that I'm wrong, not correct it. I sometimes use PHP includes which do not need either <body> or <html> tags.
But the most important thing would be pure formatting. Is there a way to simply format a document with auto indents with out completing syntax mistakes?
You can instuct HTML Tidy to do what you want (no correction and formatting) using its .cfg file. You'll have to check the HTML Tidy website for the proper mix of options to put in tidy.cfg.
I also noticed a TextFX -> Convert -> Submit to W3C HTML validator entry. But that may not be what you want, from your last post.
CChris
Thanks I will def. have to check that out. That is exactly what I was looking for. Once I know the syntax it should make customization pretty easy.