diff options
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -47,7 +47,8 @@ char *html_encode(const char *s) {.c = '<', .str = "<"}, {.c = '&', .str = "&"}, {.c = '\"', .str = """}, - {.c = '\'', .str = "'"} + {.c = '\'', .str = "'"}, + {.c = '\n', .str = "<br>"} }; char buf[sizeof "a"] = {0}; |
