diff options
| author | Xavier Del Campo Romero <xavi92@disroot.org> | 2025-09-27 20:48:55 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi92@disroot.org> | 2025-09-28 00:12:57 +0200 |
| commit | 94ddbec88e57fe742f219a30145650165887f22c (patch) | |
| tree | b605b87b003927eb86cf8d78bae934b06b50ec5a /html.c | |
| parent | bdfbd076f2d3e7212f300bf5edbbad1934fae324 (diff) | |
html: Make html_encode public
Among other reasons, this function can be useful to sanitize
user-generated content before assigning it do a node.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -23,7 +23,7 @@ struct html_node static int serialize_siblings(struct dynstr *, const struct html_node *, unsigned); -static char *html_encode(const char *s) +char *html_encode(const char *s) { struct dynstr d; |
