Skip to content

ng build replaces HTML entities with the escaped value #10696

Closed
@luisabreu

Description

@luisabreu

Angular CLI: 6.0.0
Node: 10.0.0
OS: win32 x64
Angular: 6.0.0
... animations, cli, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package Version

@angular-devkit/architect 0.6.0
@angular-devkit/build-angular 0.6.0
@angular-devkit/build-optimizer 0.6.0
@angular-devkit/core 0.6.0
@angular-devkit/schematics 0.6.0
@ngtools/webpack 6.0.0
@schematics/angular 0.6.0
@schematics/update 0.6.0
rxjs 6.1.0
typescript 2.7.2
webpack 4.6.0

The index.html page (index page of the project) ahs the following title:

<title>Veículos</title>

After running the following command:

ng build --prod --aot --base-href ~/views/dist/

The HTML entity is replace by it's value in the destination folder (instead of keeping the escaped value):

<title>Veículos</title>

I'm almost positive that this didn't happen in the previous releases...

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs: investigationRequires some digging to determine if action is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions