docs: fix result of sanitization example (#36059)
This commit fixes sanitization example in https://angular.io/guide/template-syntax#content-security. * Escape < and > of interpolation result. * Fix result of property binding result. PR Close #36059
This commit is contained in:
		
							parent
							
								
									5ea9119322
								
							
						
					
					
						commit
						3545520e81
					
				| @ -821,8 +821,8 @@ content harmlessly. The following is the browser output | ||||
| of the `evilTitle` examples. | ||||
| 
 | ||||
| <code-example language="bash"> | ||||
| "Template <script>alert("evil never sleeps")</script> Syntax" is the interpolated evil title. | ||||
| "Template alert("evil never sleeps")Syntax" is the property bound evil title. | ||||
| "Template <script>alert("evil never sleeps")</script> Syntax" is the interpolated evil title. | ||||
| "Template Syntax" is the property bound evil title. | ||||
| </code-example> | ||||
| 
 | ||||
| <hr/> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user