diff options
| author | 2022-12-04 06:37:30 +0100 | |
|---|---|---|
| committer | 2022-12-04 06:37:30 +0100 | |
| commit | bc0f9d116f7ffc30448b812fe35365533df47def (patch) | |
| tree | 6e8005a26a564e3c3f99660e01f2437004b1800d | |
| parent | Don't show the messages' md5. (diff) | |
| download | snac2-bc0f9d116f7ffc30448b812fe35365533df47def.tar.gz snac2-bc0f9d116f7ffc30448b812fe35365533df47def.tar.xz snac2-bc0f9d116f7ffc30448b812fe35365533df47def.zip | |
Deleted debug code in html_entry().
| -rw-r--r-- | html.c | 10 |
1 files changed, 2 insertions, 8 deletions
| @@ -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 */ |