here's the code that appears to be handling the replacement in nostros. https://github.com/KoalaSat/nostros/blob/main/frontend/Components/TextContent/index.tsx#L60. i think the issue might be that it doesn't follow nip-08. the pubkey should start with an octothorpe.