|
Squid Web Cache master
|
Go to the source code of this file.
Functions | |
| char * | html_quote (const char *) |
| char * html_quote | ( | const char * | string | ) |
Obtain a static buffer containing an HTML-encoded version of the given c-string.
HTML reserved characters are replaced with character references per https://html.spec.whatwg.org/#character-references
Definition at line 42 of file Quoting.cc.
References EscapeSequences(), xcalloc(), and xfree.
Referenced by ErrorState::compileLegacyCode(), Ftp::Gateway::htmlifyListEntry(), CommonNamesPrinter::matchDomainName(), Security::ErrorDetail::printCaName(), Security::ErrorDetail::printSubject(), and TestHtmlQuote::test_html_quote_cstr().