std1.0.0-beta-7 SafeC docs

std :: serial::html

Function std::html_escape

#include <std/serial/html.h> source · definition

void html_escape(&String out, const &char s)

Escapes '&', '<', '>', '"' for safe inclusion in HTML text/attribute content — useful on its own, independent of the Value-tree renderer below, for anything that needs to drop untrusted text into HTML.