Hash/anchors are being stripped from URLs on mobile. How to stop that?

In my tests, the Markdown cooker strips out name attributes. This is the root of my first problem.

However, the issue I am raising in this topic is that even if I could get that anchor to work, on mobile the #cloudflare-r2 gets stripped off. It doesn’t on desktop.