Expanded HTML Support in EMails and Custom Sections

We have added a number of HTML tags, attributes and styles to custom sections and emails. We limit the use of HTML tags in the HTML Tag Editor for security and consistency of the look and feel of RunSignUp.

The largest change we have made is on emails, where we now allow images in emails. The images must be stored separately on another website and be https. For example, the HTML would be something like this:
Screen Shot 2017-04-17 at 3.35.58 PM.png

To generate an image of the marines on the beach carrying the flag in the email like this:
Screen Shot 2017-04-17 at 3.32.48 PM.png

Here is a list of the HTML elements we permit in both Custom Sections as well as Emails:

  • ‘h1′,’h2′,’h3′,’h4′,’h5′,’h6’,
  • ‘p’, ‘b’, ‘i’, ‘u’,’br’, ‘hr’,
  • ‘strong’,’em’,’span’,’a’,’ul’,’ol’,’li’,’div’,’pre’,
  • ‘sup’, ‘sub’,
  • ‘table’, ‘thead’, ‘tbody’, ‘tfoot’, ‘tr’, ‘th’, ‘td’

We allow a number of styles, such as:

  • Align: center, right, left
  • Decoration: none, underline, line-through
  • Transform: none, capitalize, uppercase, lowercase, initial
  • Font Weight: normal, bold
  • Font Style: normal, italic
  • Font-size, Line height, letter spacing, border spacing
  • Margin, padding
  • White space
  • Vertical-align
  • Background-color (hex required)
  • Border (width style color)

One thought on “Expanded HTML Support in EMails and Custom Sections

Leave a Reply

Leave a Reply

%d bloggers like this: