You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using HTML tags in translations makes parser-icu throw
500
INVALID_TAG
SyntaxError: INVALID_TAG
at Function.parse [as __parse] (/@fs/tmp/lib/node_modules/@formatjs/icu-messageformat-parser/lib/index.js:31:21)
at new IntlMessageFormat (/@fs/tmp/lib/node_modules/intl-messageformat/lib/src/core.js:136:42)
at Object.parse (/@fs/tmp/lib/node_modules/@sveltekit-i18n/parser-icu/dist/index.js:1:154)
at O (/@fs/tmp/lib/node_modules/@sveltekit-i18n/base/dist/index.js:1:1261)
at /@fs/tmp/lib/node_modules/@sveltekit-i18n/base/dist/index.js:1:4065
at index.svelte:21:10
at Object.$$render (/@fs/tmp/lib/node_modules/svelte/internal/index.mjs:1770:22)
at Object.default (root.svelte:43:39)
at eval (/src/routes/__layout.svelte:29:41)
at Object.$$render (/@fs/tmp/lib/node_modules/svelte/internal/index.mjs:1770:22)
Using HTML tags in translations makes parser-icu throw
To repoduce: setup example as described on https://github.com/sveltekit-i18n/lib/tree/master/examples/parser-icu and change
to
in
src/lib/translations/en/content.json
and changeto
in
src/routes/index.svelte
.The text was updated successfully, but these errors were encountered: