Thanks. So just surrounding img tags with those commented BBEdit commands does the trick.

Rick Gordon


From: Neil Faiman <[email protected]>
To: BBEdit Talk Mailing List <[email protected]>
Date: Fri, Mar 14, 2025 4:01:02PM -0700
Subject: Any Way to Suppress or Change HTML Errors/Warnings for Document Syntax?

<!-- #bbpragma ignore_errors="on" —>

<!-- #bbpragma ignore_errors="off" -->



On Mar 14, 2025, at 6:18 PM, Rick Gordon <[email protected]> wrote:

I sometimes work on HTML emails, where:
  • using a moz-do-not-send value is useful for <img> tags
  • enclosing the content in a table, using cellspacing, cellpadding, and cellborder attributes set to 0 is recommended to support older clients
  • meta values within hrefs (for dynamic unsubscribe links, etc.) are required.
The moz-do-not-send attribute is flagged as an error, regardless of HTML declaration. Downgrading the declaration from HTML 5 to 4.01 handles the table attribute error, but brings a bunch of other ones. Is there a way to customize an error response that is more suited to HTML email?
-- 
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/d3ab1837-db3a-45c1-8b5e-7cdfb0596bd2%40rickgordon.com.

--
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/65779ED4-F91B-4838-9612-0AC0997CB626%40faiman.org.

_______________________________________
RICK GORDON
_______________________________________

EMAIL: [email protected]
WWW: www.shelterpub.com

--
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/ac46df58-4bb4-4045-80ad-63e16a424f28%40rickgordon.com.

Reply via email to