Any Way to Suppress or Change HTML Errors/Warnings for Document Syntax?

49 views
Skip to first unread message

Rick Gordon

unread,
Mar 14, 2025, 6:18:50 PM3/14/25
to bbedit

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?

_______________________________________
RICK GORDON
_______________________________________

EMAIL: ri...@rickgordon.com
WWW: www.shelterpub.com

Neil Faiman

unread,
Mar 14, 2025, 7:01:29 PM3/14/25
to BBEdit Talk Mailing List

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

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



On Mar 14, 2025, at 6:18 PM, Rick Gordon <li...@rickgordon.com> 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 "sup...@barebones.com" 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 bbedit+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bbedit/d3ab1837-db3a-45c1-8b5e-7cdfb0596bd2%40rickgordon.com.

Rick Gordon

unread,
Mar 15, 2025, 12:18:35 AM3/15/25
to bbe...@googlegroups.com

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

Rick Gordon


From: Neil Faiman <neil....@faiman.org>
To: BBEdit Talk Mailing List <bbe...@googlegroups.com>
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 <li...@rickgordon.com> 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 "sup...@barebones.com" 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 bbedit+un...@googlegroups.com.
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 "sup...@barebones.com" 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 bbedit+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bbedit/65779ED4-F91B-4838-9612-0AC0997CB626%40faiman.org.

_______________________________________
RICK GORDON
_______________________________________

EMAIL: ri...@rickgordon.com
WWW: www.shelterpub.com

Reply all
Reply to author
Forward
0 new messages