Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug with adding <div>{</div> to component html #24751

Closed
foxjazz opened this issue Jul 4, 2018 · 3 comments
Closed

bug with adding <div>{</div> to component html #24751

foxjazz opened this issue Jul 4, 2018 · 3 comments

Comments

@foxjazz
Copy link

foxjazz commented Jul 4, 2018

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ x] Bug report  
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
[ ] Other... Please describe:

Current behavior

component page displays blank when a div tag has { in the text.

Expected behavior

component should display the html.

Minimal reproduction of the problem with instructions

github-repo

is a sample project. use ng serve to build project and run. change first.component.html to add

{
and notice that the page turns blank.

What is the motivation / use case for changing the behavior?

Being able to display { on the component page.

Environment

"dependencies": {
"@angular/animations": "^5.2.0",
"@angular/common": "^5.2.0",
"@angular/compiler": "^5.2.0",
"@angular/core": "^5.2.0",
"@angular/forms": "^5.2.0",
"@angular/http": "^5.2.0",
"@angular/platform-browser": "^5.2.0",
"@angular/platform-browser-dynamic": "^5.2.0",
"@angular/router": "^5.2.0",
"core-js": "^2.4.1",
"rxjs": "^5.5.6",
"zone.js": "^0.8.19"


Angular version: X.Y.Z


Browser:
- [ x] Chrome (desktop) version XX
 
For Tooling issues:
- Node version: 8.9.4
- Platform:  windows
@trotyl
Copy link
Contributor

trotyl commented Jul 4, 2018

Duplicate of #10227

@foxjazz foxjazz closed this as completed Jul 4, 2018
@trotyl
Copy link
Contributor

trotyl commented Jul 4, 2018

Also related to #11859

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants