foundation / inky

Convert a simple HTML syntax into tables compatible with Foundation for Emails.
http://foundation.zurb.com/emails
673 stars 107 forks source link

Regression: <spacer> no longer including extra attributes #135

Open marcandre opened 2 years ago

marcandre commented 2 years ago

The <spacer> tag no longer includes extra attributes and they are entirely dropped:

Example:

<spacer class="some classes" foo="bar" size="42"/>
# 1.3.8 converts to:
<table foo="bar" class="classes some spacer">[...]
# 1.4.2 converts to:
<table class="classes some spacer">[...]

Note that other tags do include extra attributes.

(Noticed when running the inky-rb test suite)