Bun.escapeHTML() escapes HTML characters in a string. It makes the following replacements.
"becomes"""&becomes"&"'becomes"'"<becomes"<">becomes">"
See Utils.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Bun.escapeHTML() escapes HTML characters in a string. It makes the following replacements.
" becomes """& becomes "&"' becomes "'"< becomes "<"> becomes ">"