My application is developed using Angular 7 with Typescript.
The code snippet below is from a typescript file:
this.confirmationDialogService.confirm(null, 'er du sikker på, at du vil gøre denne ændring', "Acceptere", "Afvise")
However, after publishing the application, the string doesn't get properly encoded and displayed in the browser.
this.confirmationDialogService.confirm(null, 'er du sikker p, at du vil gre denne ndring', "Acceptere", "Afvise")
tsconfig.json
{
"compileOnSave": false,
"include": [
"./src", "manager/IocDataMapperModule.cs", "../TV2.DataLayer/IUserSkillDataLayer.cs", "../TV2.DataLayer.Mongo/UserSkillDataLayer.cs"
],
"compilerOptions": {
"baseUrl": "./",
"importHelpers": true,
"outDir": "./scripts/out-tsc",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"charset": "utf8",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2017",
"dom"
]
}
}