Skip to content

fix(decision): fix mangled DOIs to register label

Ben Whitmore requested to merge doi-escaping-fix-20240213 into main

In the decision page, DOIs to be registered used to be displayed like this:

image

Now they are displayed like this:

image

This is achieved by prefixing "- " inside the translation string, which tells i18next not to escape the supplied variable. This is safe because React does its own escaping to prevent scripting attacks.

Merge request reports