I don’t believe that there is a way to tell the checker to ignore specific 
kinds of errors.

However, you can use <!-- #bbpragma ignore_errors="on" —> and <!-- #bbpragma 
ignore_errors="off" —> to turn off checking in a region of your code.

For example, I have geo meta tags in the headers of my web pages, and the 
bbedit syntax checker doesn’t like them, so the bbinclude file that generates 
my head elements contains this:

        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link rel="Stylesheet" href="#RELATIVE#zba-5.12.css" type="text/css">
        <script src="#RELATIVE#collapsible_menu.js"></script>
        <!-- #bbpragma ignore_errors="on" -->
        <meta name="geo.position" content="42.84;-71.75">
        <meta name="geo.country" content="us">
        <meta name="geo.a1" content="NH">
        <meta name="geo.a2" content="Hillsborough">
        <meta name="geo.a3" content="Wilton">
        <!-- #bbpragma ignore_errors="off" -->
        <link rel="apple-touch-icon" sizes="180x180" 
href="#RELATIVE#apple-touch-icon.png">
        <link rel="icon" type="image/png" sizes="32x32" 
href="#RELATIVE#favicon-32x32.png">
        <link rel="icon" type="image/png" sizes="16x16" 
href="#RELATIVE#favicon-16x16.png">
        <link rel="manifest" href="#RELATIVE#site.webmanifest">



> On May 6, 2026, at 9:00 PM, 'Rick Gordon' via BBEdit Talk 
> <[email protected]> wrote:
> 
> How can I eliminate syntax checking errors/warnings such as these:
> Document type does not permit element “<source>” in content of element 
> “<picture>”.
> Document type doesn't permit attribute “allowautoplay” within element 
> “<iframe>”.
> Document type doesn't permit attribute “decoding” within element “<img>”.
> Document type doesn't permit attribute “frameborder” within element 
> “<iframe>”.
> Document type doesn't permit attribute “gesture” within element “<iframe>”.
> Document type doesn't permit attribute “link_target_backup” within element 
> “<a>”.
> Document type doesn't permit attribute “moz-do-not-send” within element 
> “<img>”.
> Document type doesn't permit attribute “sizes” within element “<img>”.
> Document type doesn't permit attribute “srcset” within element “<source>”.
> 
> Rick Gordon
> -- 
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or believe that the application isn't working correctly, please email 
> "[email protected] <mailto:[email protected]>" rather than posting 
> here. Follow @bbedit on Mastodon: <https://mastodon.social/@bbedit>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion visit 
> https://groups.google.com/d/msgid/bbedit/c5b67022-d532-44c5-977e-e01b4b0f6248%40rickgordon.com
>  
> <https://groups.google.com/d/msgid/bbedit/c5b67022-d532-44c5-977e-e01b4b0f6248%40rickgordon.com?utm_medium=email&utm_source=footer>.

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or believe that the application isn't working correctly, please email 
"[email protected]" rather than posting here. Follow @bbedit on Mastodon: 
<https://mastodon.social/@bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/bbedit/DD6FA497-151E-4FA2-8A47-0B3BF3F8CE85%40faiman.org.

Reply via email to