Why is this script in the header failing?

Hi,

I’m using Fathom (usefathom.com) as an alternative to GoogleAnalytics. Fathom requires a simple script in the page header, but does anyone know why this script fails? And even better: how to fix this so it’s recognized by Weweb?

<script src="https://cdn.usefathom.com/script.js" data-site="ABCDEFG" defer></script>

The alternative version of (what should end up in) the same is:

<script type="text/plain" class="language-js"><script src="https://cdn.usefathom.com/script.js"
data-spa="auto"
data-site="ABCDEFG"
defer>&lt;/script></script>

it’s a bug of weweb’s validation. if you have a newline in your script you get the warning. you easily test it.
this gets the warning:

<script>
</script>

this does not get the warning:

<script></script>

if the code you add in the header is valid your build will be a success even if you have this warning in the editor