Skip to content

Commit fe69347

Browse files
committed
Update spec-char-escape.mdx
1 parent b4ecdd3 commit fe69347

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/src/content/docs/rules/spec-char-escape.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ Level: <Badge text="Error" variant="danger" />
3131

3232
## Why this rule is important
3333

34-
Special characters must be escaped to prevent rendering issues.
34+
Special HTML characters like `<`, `>`, and `&` must be escaped to prevent them from being interpreted as HTML tags or entities. This avoids rendering issues and potential cross-site scripting (XSS) vulnerabilities.

0 commit comments

Comments
 (0)