luci-base: cbi.js: properly handle non-strings in `%h` and `%q` formats
Only replace null, objects and function values with the empty string but
return booleans and numbers as strings.
Spotted while debugging #5587.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
parent
43818163
Please register or sign in to comment