code wiki / _hdl_build / nx_fold_punct_gate.nx
nx_fold_punct_gate.nx
buildroot/runtime/_hdl_build/nx_fold_punct_gate.nx
about
nx_fold_punct_gate.nx -- regression gate for the browser text pipeline: HTML entity DECODE -> UTF-8
-> ASCII FOLD, the exact path br_draw_fb paints. Locks the 2026-07-10 fix that made typographic
punctuation (— · ’ › … arrows) render instead of vanishing to blank
gaps in the 5x7 font, WITHOUT regressing accent-fold (é->e) or ASCII passthrough. Found by dogfooding
the Nishi browser on our own /compare pages. license_tier: ORIGINAL expect_exit: 0
dependencies 1 imports · 0 importers
imports: nx_html_entities.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 8 | func fg_w(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 9 | func fg_check(pass: i64, label: *u8, fails: *i64) -> i64 |
| 15 | func fg_pipe_eq(src: *u8, slen: i64, want: *u8) -> i64 |
| 28 | func main() -> i64 |