Add read-only TOML subset parse, HTML escape/unescape, and RFC 4648 base32 on encoding; gold tests and public demos included. Co-authored-by: Cursor <cursoragent@cursor.com>
486 B
486 B
设计:lib/html / lib/超文本(Mid2 M8)
| 状态 | 已落地 |
| 日期 | 2026-09-09 |
| 父设计 | stdlib-mid2.md §3.2 |
| 宿主 | src/host/html_ops.rs · host_html_escape / host_html_unescape |
API
| EN | ZH | 行为 |
|---|---|---|
escape |
转义 |
& < > " ' → 实体(' → ') |
unescape |
还原 |
上述实体(含 ' / ') |
不做 DOM / 模板引擎。