code wiki / (root) / html_escape.nx

html_escape.nx source

↩ module page · 20 lines · 913 B

1// html_escape.nx -- alias stub. 2// 3// nx_html_escape.nx is the canonical HTML entity encoder/decoder 4// (same he_is_safe / he_put / html_escape / he_hex_digit / 5// html_unescape API). This file used to define duplicates which 6// produced linker-level duplicate-symbol errors when the daemon 7// imported both markdown_block.nx (which imports html_escape.nx) 8// AND nx_markdown_block.nx (which imports nx_html_escape.nx). 9// 10// Consumers using `import "html_escape.nx"` resolve via NishiLang's 11// textual import splicing with path-dedup: this stub splices 12// nx_html_escape.nx once, and any other file that also imports 13// "nx_html_escape.nx" directly gets deduped to the same canonical 14// splice. No duplicate symbols. 15// 16// Same shape as syscalls.nx -> nx_syscalls.nx alias. 17// Deprecation: when every "html_escape.nx" consumer migrates to 18// the nx_-prefixed name, delete this stub. 19 20import "nx_html_escape.nx"