Bug in pretty url option

https://leafy-crisp-226a59.netlify.app/en/
Bug keep existing:

<a href="../fr/index.html" onclick="document.cookie = 'nf_lang=fr; path=/ ; SameSite=Strict'">FR</a>

Give with “pretty link”:

 <a href='/fr/' onclick='document.cookie = \'nf_lang=fr; path=/ ; SameSite=Strict\''>FR</a>

Using back-tick get arround the bug:
https://leafy-crisp-226a59.netlify.app/fr/

<a href="../en/index.html" onclick="document.cookie = `nf_lang=en; path=/; SameSite=Strict`">EN</a>

Give:

<a href='/en/' onclick='document.cookie = `nf_lang=en; path=/; SameSite=Strict`'>EN</a>

Duplicate: Is Netlify mangling my href quotes? - Support - Netlify Support Forums