Skip to content

Running into 'SyntaxError: Invalid linked format' #17398

Discussion options

You must be logged in to vote

After some investigation, one of our devs worked out the cause. It was due to a message string in one of our vue-i18n localisation files that contained an '@'. It turns out certain characters are reserved and need to be handled a little differently, per:

https://vue-i18n.intlify.dev/guide/essentials/syntax#special-characters

So:

'text.intro': 'lorem ipsum [email protected]'

would need to become:

'text.intro': 'lorem ipsum abc{\'@\'}mydomain.noplace'

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ajmas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant