snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit bc0f9d116f7ffc30448b812fe35365533df47def
parent 144d3c29a9ffb376a73f8f56ce3dffb827997100
Author: default <nobody@localhost>
Date:   Sun,  4 Dec 2022 06:37:30 +0100

Deleted debug code in html_entry().

Diffstat:
Mhtml.c | 10++--------
1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/html.c b/html.c @@ -516,14 +516,8 @@ d_char *html_entry(snac *snac, d_char *os, char *msg, int local, int level, int } else if (strcmp(type, "Note") != 0) { - s = xs_str_cat(s, "<div class=\"snac-post\">\n"); - - xs *s1 = xs_fmt("<p>%s ?</p>\n", type); - s = xs_str_cat(s, s1); - - s = xs_str_cat(s, "</div>\n"); - - return xs_str_cat(os, s); + /* skip oddities */ + return os; } /* bring the main actor */