[ 
https://issues.apache.org/jira/browse/NETBEANS-50?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16121330#comment-16121330
 ] 

Dalton Notetech edited comment on NETBEANS-50 at 8/10/17 9:26 AM:
------------------------------------------------------------------

As per HTML spec, it is not illegal to add special characters in html 
attributes 
So following are valid attribute names
*(property)*
*[smth]*
**ngFor*
*[(twoWay)]*

Also it is possible to add custom components (tags) in html. The below tag is 
perfectly valid in html
*<app></app>*

So please make sure that netbeans will not show such text as error in html page
Also make sure that format operation works properly when we use such attributes 
and tags.


was (Author: daltonnotetech):
As per HTML spec, it is not illegal to add special characters in html 
attributes 
So following are valid attrubute names
*(property)*
*[smth]*
**ngFor*
*[(twoWay)]*

Also it is possible to add custom components (tags) in html. The below tag is 
perfectly valid in html
*<app></app>*

> Please support angular2 template syntax in html files
> -----------------------------------------------------
>
>                 Key: NETBEANS-50
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-50
>             Project: NetBeans
>          Issue Type: New Feature
>          Components: web - AngularJS, web - HTML Editor
>    Affects Versions: Next
>            Reporter: Christian Lenz
>         Attachments: angular2-template-syntax.png
>
>
> As you can see here: https://angular.io/guide/template-syntax the syntax of 
> templates changed for attributes for example. We have (property), [smth] or 
> *ngFor. If you use those, which are essential when you use angular2, the file 
> has red lines. See the screenshot for more info.
> So please implement the known syntax into the html editor.
> Regards
> Chris



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to