SparkPost / heml

HEML is an open source markup language for building responsive email.
https://heml.io
MIT License
4.33k stars 157 forks source link

Fixing encoded quotes #37

Closed avigoldman closed 6 years ago

avigoldman commented 6 years ago

This is a potential fix for #32

The issue is stemming from the stringify-attributes. It currently escapes the attributes and doesn't provide a way to turn that off. This pull that functionality into the heml code base and strips the escaping functionality.

avigoldman commented 6 years ago

Test with the following:

<heml>
  <head></head>
  <body>
    <a href="http://{{ $domain }}/auth/verify/{{ $user['confirmation'] }}">@lang('email.confirm_button')</a>
  </body>
</heml>