Description
I want to show { and } characters in a message so I'm escaping them with ' as described in the docs.
For example, take this message string from the docs: "Escape curly braces with single quotes (e.g. '{name'})"
When starting the app with npm run dev, it works as expected and shows {name}.
However, when running npm run build and npm run start, it's including the escape characters: '{name'}.
We noticed this bug when updating to 4.3.1 in our app. Before we were using 3.9.0 and everything worked fine.
Verifications
Mandatory reproduction URL
https://stackblitz.com/edit/stackblitz-starters-qrums7tb
Reproduction description
Steps to reproduce:
- Open reproduction
- Start the app with
npm run dev to see the correct behavior
- Start the app with
npm run build & npm run start to see the wrong behavior
Expected behaviour
In the prod build the escape characters (') shouldn't be visible.
There should be no difference between dev server and prod build.
Description
I want to show
{and}characters in a message so I'm escaping them with'as described in the docs.For example, take this message string from the docs:
"Escape curly braces with single quotes (e.g. '{name'})"When starting the app with
npm run dev, it works as expected and shows{name}.However, when running
npm run buildandnpm run start, it's including the escape characters:'{name'}.We noticed this bug when updating to
4.3.1in our app. Before we were using3.9.0and everything worked fine.Verifications
Mandatory reproduction URL
https://stackblitz.com/edit/stackblitz-starters-qrums7tb
Reproduction description
Steps to reproduce:
npm run devto see the correct behaviornpm run build & npm run startto see the wrong behaviorExpected behaviour
In the prod build the escape characters (
') shouldn't be visible.There should be no difference between dev server and prod build.