diff --git a/deps/aha/aha.c b/deps/aha/aha.c index cb3dd35..59971cd 100644 --- a/deps/aha/aha.c +++ b/deps/aha/aha.c @@ -332,7 +332,7 @@ char * aha(char *input) { for (;line<80;line++) - append_output(&output, " ", &size, &outat); + append_output(&output, " ", &size, &outat); line=0; momline++; append_output(&output, "
", &size, &outat); @@ -359,6 +359,7 @@ char * aha(char *input) line=0; append_output(&output, "
", &size, &outat); break; + case ' ': append_output(&output, " ", &size, &outat); break; default: { sprintf(minibuf, "%c", c); append_output(&output, minibuf, &size, &outat); diff --git a/www/static/style.css b/www/static/style.css index 07199d1..2d05b64 100644 --- a/www/static/style.css +++ b/www/static/style.css @@ -221,7 +221,7 @@ width: 200px; } -.msgbody { +#msgbody { background-color: black; color: white; } \ No newline at end of file diff --git a/www_msgs.c b/www_msgs.c index dda1261..d44cc8d 100644 --- a/www_msgs.c +++ b/www_msgs.c @@ -456,7 +456,7 @@ char *www_msgs_messageview(struct user_record *user, int conference, int area, i } strcat(page, buffer); len += strlen(buffer); - sprintf(buffer, "
\n");
+		sprintf(buffer, "
\n"); if (len + strlen(buffer) > max_len - 1) { max_len += 4096; page = (char *)realloc(page, max_len); @@ -480,7 +480,7 @@ char *www_msgs_messageview(struct user_record *user, int conference, int area, i free(aha_out); free(aha_text); - sprintf(buffer, "
\n"); + sprintf(buffer, "\n"); if (len + strlen(buffer) > max_len - 1) { max_len += 4096; page = (char *)realloc(page, max_len);