Skip to content

Commit

Permalink
docs: update xss check message
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Fiorette <[email protected]>
  • Loading branch information
arthurfiorette authored Jan 3, 2024
1 parent 9f57362 commit 30d5bc4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,14 +137,14 @@ To use the `@kitajs/html` package, follow these steps:
<br />
<br />

> [!WARNING]
> [!CAUTION]
>
> # Be sure your setup is working correclty!
>
> Try writing `console.log(<div>{'<' + '/div>'}</div>);` in your editor. If it **PRODUCE
> ERRORS**, then your setup is correct. Refer to the
> Try writing `console.log(<div>{String.name}</div>);` in your editor. If it **THROWS**
> a `XSS` error, then your setup is correct. Refer to the
> [@kitajs/ts-html-plugin](https://github.com/kitajs/ts-html-plugin) repository for more
> details on setting up editor intellisense.
> details on setting up editor intellisense. _(It should throw, as `String.name` has a type of `string`, type which may or may not have special caracters)_
<br />
<br />
Expand Down

0 comments on commit 30d5bc4

Please sign in to comment.