This isn't as good as actually translating perfmap into other languages but it avoids the injected text being displayed oddly if injected on an RTL page.
Previously the parentheses wouldn't be displayed symmetrically since they're weakly directional characters and will follow the adjacent text which inherits the overall page direction:
This isn't as good as actually translating perfmap into other languages but it avoids the injected text being displayed oddly if injected on an RTL page.
Previously the parentheses wouldn't be displayed symmetrically since they're weakly directional characters and will follow the adjacent text which inherits the overall page direction:
With this change, they're at least consistent: