Skip to content

Commit

Permalink
docs: fix code-example displayed path (angular#33228)
Browse files Browse the repository at this point in the history
PR Close angular#33228
  • Loading branch information
paulceli authored and ODAVING committed Oct 18, 2019
1 parent 5f9fd9e commit 5f65df9
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 5f65df9

Please sign in to comment.