summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2022-12-04 06:37:30 +0100
committerGravatar default2022-12-04 06:37:30 +0100
commitbc0f9d116f7ffc30448b812fe35365533df47def (patch)
tree6e8005a26a564e3c3f99660e01f2437004b1800d
parentDon't show the messages' md5. (diff)
downloadsnac2-bc0f9d116f7ffc30448b812fe35365533df47def.tar.gz
snac2-bc0f9d116f7ffc30448b812fe35365533df47def.tar.xz
snac2-bc0f9d116f7ffc30448b812fe35365533df47def.zip
Deleted debug code in html_entry().
-rw-r--r--html.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/html.c b/html.c
index d0ccd23..ea7830c 100644
--- 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
516 } 516 }
517 else 517 else
518 if (strcmp(type, "Note") != 0) { 518 if (strcmp(type, "Note") != 0) {
519 s = xs_str_cat(s, "<div class=\"snac-post\">\n"); 519 /* skip oddities */
520 520 return os;
521 xs *s1 = xs_fmt("<p>%s ?</p>\n", type);
522 s = xs_str_cat(s, s1);
523
524 s = xs_str_cat(s, "</div>\n");
525
526 return xs_str_cat(os, s);
527 } 521 }
528 522
529 /* bring the main actor */ 523 /* bring the main actor */