projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Blockquotes are now rendered to console as dim instead of italic
[citadel.git]
/
libcitadel
/
lib
/
html_to_ascii.c
diff --git
a/libcitadel/lib/html_to_ascii.c
b/libcitadel/lib/html_to_ascii.c
index c57a5020e88b5d9cd9b458acdb3a2b473ebab879..ca2de8df8d9e7b0eb756ca1a7186a16d5f571641 100644
(file)
--- a/
libcitadel/lib/html_to_ascii.c
+++ b/
libcitadel/lib/html_to_ascii.c
@@
-236,7
+236,7
@@
char *html_to_ascii(const char *inputmsg, int msglen, int screenwidth, int ansi)
++blockquote;
strcpy(nl, "\n");
if ( (blockquote == 1) && (ansi) ) {
++blockquote;
strcpy(nl, "\n");
if ( (blockquote == 1) && (ansi) ) {
- strcat(nl, "\033[2m\033[
3
m");
+ strcat(nl, "\033[2m\033[
2
m");
}
for (j=0; j<blockquote; ++j) strcat(nl, ">");
strcat(outbuf, nl);
}
for (j=0; j<blockquote; ++j) strcat(nl, ">");
strcat(outbuf, nl);
@@
-246,7
+246,7
@@
char *html_to_ascii(const char *inputmsg, int msglen, int screenwidth, int ansi)
strcat(outbuf, "\n");
--blockquote;
if ( (blockquote == 0) && (ansi) ) {
strcat(outbuf, "\n");
--blockquote;
if ( (blockquote == 0) && (ansi) ) {
- strcat(outbuf, "\033[22m\033[2
3
m");
+ strcat(outbuf, "\033[22m\033[2
2
m");
}
strcpy(nl, "\n");
for (j=0; j<blockquote; ++j) strcat(nl, ">");
}
strcpy(nl, "\n");
for (j=0; j<blockquote; ++j) strcat(nl, ">");