docs(lib): narrate remaining stdlib modules (M2)

Add module intros and per-function purpose lines across EN/ZH libs, with
callable examples on the smaller modules; keep + params and host bodies intact.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-09-14 11:47:35 +08:00
1 parent 53bc3538da
commit fecaacd5be
49 files changed
+617 -21

No files matched your search

+8
View File
@@ -3,12 +3,20 @@ title: lib/html
description: HTML escape / unescape (Mid2 M8). XSS floor for string assembly.
---
HTML escape helpers. Use before stitching untrusted text into markup.
## escape
+ `text`
Escape text for HTML.
Caller: [html.escape] text=`s`
*> host_html_escape text=`text`*
## unescape
+ `text`
Unescape HTML entities in text.
*> host_html_unescape text=`text`*