Skip to content

Commit

Permalink
docs: fix code-example displayed path (#33228)
Browse files Browse the repository at this point in the history
PR Close #33228
  • Loading branch information
paulceli authored and matsko committed Oct 17, 2019
1 parent 37cbcfa commit 1281bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aio/content/guide/template-syntax.md
Expand Up @@ -804,7 +804,7 @@ Imagine the following malicious content.

In the component template, the content might be used with interpolation:

<code-example path="property-binding/src/app/app.component.html" region="malicious-interpolated" header="src/app/app.component.ts"></code-example>
<code-example path="property-binding/src/app/app.component.html" region="malicious-interpolated" header="src/app/app.component.html"></code-example>

Fortunately, Angular data binding is on alert for dangerous HTML. In the above case,
the HTML displays as is, and the Javascript does not execute. Angular **does not**
Expand Down

0 comments on commit 1281bef

Please sign in to comment.