Compiler does not replace title prefix on document links

I put a custom tag in title prefix and then set a replacement rule for it.

The replacement function doesn’t work on document links, but it works well on common title generation.

I tried setting rule in format replacements or project replacements, both not work.

Is it a bug or I missed something?