<p dir="auto">This allows us to enable output safety checks for all code within erb files.</p>
<p dir="auto"><code class="notranslate">rubocop --auto-gen-config</code> ignores code within the erb files, so it is easier to maintain an exclusion on the helper than inside the layout.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/5358'>https://github.com/openstreetmap/openstreetmap-website/pull/5358</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5358/commits/ce342fede0fc465993e588487056d76458f97169" class="commit-link">ce342fe</a>  Move html_safe declaration for user_mailer from layout to helper</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5358/files">4 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5358/files#diff-626574fac6806509034e0bea311a339991d3372ad52031f6761abe8c457a76de">.erb_lint.yml</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5358/files#diff-29beaabe278fd17493296745cecb67919f0906b47b8246ab770f5517615d9ef7">.rubocop_todo.yml</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5358/files#diff-4441419566196bfe07c7e08524892c3f7e198c37dd89d4f971b1a269abd59257">app/helpers/user_mailer_helper.rb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5358/files#diff-110844e9466003ad42a36dcb2dd283878e871230e8d0247bd7da37688c97e407">app/views/layouts/user_mailer.html.erb</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5358.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5358.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5358.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5358.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5358">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIB7QKBXUQTU6ZBVX32CYEMZAVCNFSM6AAAAABSTOQVD2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGY4TSNBSGAZTAMY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLO52TVIBW67HID6EUL2CYEMZA5CNFSM6AAAAABSTOQVD2WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHKBZPCR4.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/5358</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/5358",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5358",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>