cfjedimaster / brackets-w3cvalidation

Simple W3C Validator for Brackets
85 stars 33 forks source link

Switching between new and old validation API #30

Open pmmtch opened 9 years ago

pmmtch commented 9 years ago

Hi and thanks for your work so far, I think the new validation API is very good for HTML5 but not so good for e-mails. Those are very good validated by the old one. The new not so due to the XHTML1.0 nature of e-mail templates. I would love to see both API with something to switch them in the GUI. Would be nice if you could implement that!

Thank you very much and best regards,

Perez

bchavezgd commented 9 years ago

i think i'm having the same issue.

i noticed that when i updated a few days ago, that my email template no longer validated. for emails i'm using <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

seeing "use css instead" isn't helpful when debugging emails.

before the update it worked perfectly.

ieWatch commented 9 years ago

Is the new html5.validator.nu check the same as validator.w3.org? If not perhaps a plugin name change is in order ?

cfjedimaster commented 9 years ago

It should be - it is what the docs led me to.

KiereKat commented 9 years ago

I too code for e-mail and would like to be able to switch it back. I know the code for e-mail is obsolete but getting that as an error doesn't help me to actually validate.

cfjedimaster commented 9 years ago

Unfortunately, you can't really use UI to switch validators. The Brackets Linting API doesn't allow for that. In theory, you could use a preference and make it so you could switch by editing it, but you couldn't go back and forth via some UI thing.

1951FDG commented 9 years ago

The version of this extension that validates XHTML 1.0, is version 2.1.9. It can be downloaded here