def form.quote

emerging-ezhttp@0.21.0.0 · src/form.bend:155

import emerging-ezhttp@0.21.0.0/src/form.bend as Form
import Base

155# a name or filename as the inside of its quoted-string, as HTML's form
156# submission writes it: `"`, CR and LF percent-encoded, the rest as itself
157def form.quote(s: String) -> String:
158  match s:
159    case SNil{}:
160      SNil{}
161    case SCon{Chr{+cp}, tail}:
162      form.one(cp, form.quote(tail))

Uses (3)

Used by (2)