Skip to content

Embeded HTML templates from Angular2 components are not escaped #1162

@Tomucha

Description

@Tomucha

This is my source code (fragment):

@Component(
    selector: 'form-file-input',
    template: r'''
<div class="row">
    <div class="file-field input-field col s11">
      <div class="btn">
        <span>{{label}}</span>
       ... truncated ...
</div>
''')
class FormFileInput implements OnInit, AfterViewInit {
  static int counter = 0;
  ... etc 

And this is the result:
image

Probably similar (duplicate?) to #1084
dartdoc version: 0.9.0

Metadata

Metadata

Assignees

Labels

P0A serious issue requiring immediate resolution

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions