<div style="display: flex; flex-wrap: wrap; white-space: pre-wrap; align-items: center; "><img height="20" width="20" style="border-radius:50%; margin-right: 4px;" decoding="async" src="https://avatars.githubusercontent.com/u/147741?s=20&v=4" /><strong>tomhughes</strong> left a comment <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6187#issuecomment-3067289617">(openstreetmap/openstreetmap-website#6187)</a></div>
<p dir="auto">I've added that in now although I don't think it's a perfect solution - it restore the CSRF meta tags which is the immediate problem here but there's lots of other stuff that gets lost from the <code class="notranslate">head</code> element.</p>
<p dir="auto">In principle the <code class="notranslate">yield :head</code> lets you add stuff in but that requires you to have been able to call <code class="notranslate">content_for :head</code> without having to add it to every individual page but that would have to be done from the layout which we're not in control of.</p>
<p dir="auto">If it proves to be a problem then we could replace their special layout with one of our own that includes a fuller <code class="notranslate">head</code> element without all the rest of the layout.</p>
<p dir="auto">You do of course still get the rest of the page outside the layout in any case.</p>

<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/6187#issuecomment-3067289617">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIJGAVFPCRCPYNBRXD3IK7Z7AVCNFSM6AAAAACBLZ4Q3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTANRXGI4DSNRRG4">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPMARHYB3X5HIY2X433IK7Z7A5CNFSM6AAAAACBLZ4Q3GWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTVW2MQBC.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/6187/c3067289617</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/6187#issuecomment-3067289617",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/6187#issuecomment-3067289617",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>