diff --git a/html.c b/html.c index cc2bb28..acda93d 100644 --- a/html.c +++ b/html.c @@ -276,7 +276,7 @@ xs_html *html_note(snac *user, char *summary, xs_html_attr("type", "text"), xs_html_attr("name", "summary"), xs_html_attr("placeholder", L("Sensitive content description")), - xs_html_attr("value", cw_text)))))); + xs_html_attr("value", xs_is_null(cw_text) ? "" : cw_text)))))); if (actor_id) xs_html_add(form,