Documentation Index
Fetch the complete documentation index at: https://mint-tsdocs.saulo.engineer/llms.txt
Use this file to discover all available pages before exploring further.
sanitizeJsxAttribute
Summary
Sanitizes text for safe use in JSX attributes. Prevents JSX injection and ensures proper escaping.Signature
Parameters
text
Type:string
The text to sanitize
attributeName
Type:string
Optional: Yes
The name of the JSX attribute (optional, for context-specific handling)
Returns
Type:string
Sanitizes text for safe use in JSX attributes. Prevents JSX injection and ensures proper escaping.
