projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c42cd0
)
Deal with text/x-markdown in the text client by displaying it as plain text.
author
Art Cancro
<ajc@citadel.org>
Fri, 6 Apr 2018 21:23:41 +0000
(17:23 -0400)
committer
Art Cancro
<ajc@citadel.org>
Fri, 6 Apr 2018 21:23:41 +0000
(17:23 -0400)
textclient/citadel.c
patch
|
blob
|
history
diff --git
a/textclient/citadel.c
b/textclient/citadel.c
index d01f6fef57f873d441fde1e7d486dff4b2b51d68..b8c534337f5630ff151472fa9bd6693ba0d10a7c 100644
(file)
--- a/
textclient/citadel.c
+++ b/
textclient/citadel.c
@@
-1073,7
+1073,7
@@
void get_serv_info(CtdlIPC *ipc, char *supplied_hostname)
* isn't really all that great, it's probably better to just go with
* the plain text when we have it available.
*/
- if ((CtdlIPCSpecifyPreferredFormats(ipc, buf, "text/plain|text/html") / 100 ) != 2) {
+ if ((CtdlIPCSpecifyPreferredFormats(ipc, buf, "text/plain|text/html
|text/x-markdown
") / 100 ) != 2) {
scr_printf("ERROR: Extremely old server; MSG4 framework not supported.\n");
logoff(ipc, 0);
}