& < >),防止注入。Turn CSV data into an HTML table you can paste into a page, with optional headers and styling.
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Delimiters and quotes | comma-separated fields; quote those containing commas | RFC 4180 |
| Table structure | first row becomes thead; the rest fill tbody | WHATWG HTML Standard |
| Escaping | escape cell content to avoid HTML injection | OWASP XSS Prevention Cheat Sheet |