Admin link in subfolder mode is incorrect

Hi, there is another issue with subfolder.

My website is located at https://www.example.com
The forum is located at https://www.example.com/discuss

I made a custom html header in the default theme:
<a href="https://www.example.com/faq">FAQ</a>

When I click the link in my header, it redirects me to
https://www.example.com/discuss/faq instead of https://www.example.com/faq

It seems, that Discourse handles external links in custom header as part of forum.