Skip to content

Commit

Permalink
Updated opening HTML structure paragraph
Browse files Browse the repository at this point in the history
  • Loading branch information
jahilldev committed Jan 12, 2022
1 parent 6d96541 commit be8f26f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ function HeroBanner({ children }) {

### Important

Any HTML provided to the custom element **must be valid**; As we're using the DOM's native parser which can be quite lax, if the contents passed are not properly sanitised or structured this might result in unusual bugs. For example:
Any HTML provided to the custom element **must be valid**; As we're using the DOM's native parser which is quite lax, any html passed that is not properly sanitised or structured might result in unusual bugs. For example:

This will result in a Preact error:

Expand Down

0 comments on commit be8f26f

Please sign in to comment.