Forráskód Böngészése

chore: grammar in html.md

Ryan Chandler 4 éve
szülő
commit
5def903cd0
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      packages/docs/src/en/directives/html.md

+ 1 - 1
packages/docs/src/en/directives/html.md

@@ -5,7 +5,7 @@ title: html
 
 
 # `x-html`
 # `x-html`
 
 
-`x-html` sets the "innerHTML" an element to the result of a given expression.
+`x-html` sets the "innerHTML" property of an element to the result of a given expression.
 
 
 > ⚠️ Only use on trusted content and never on user-provided content. ⚠️
 > ⚠️ Only use on trusted content and never on user-provided content. ⚠️
 > Dynamically rendering HTML from third parties can easily lead to XSS vulnerabilities.
 > Dynamically rendering HTML from third parties can easily lead to XSS vulnerabilities.