]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
doc markdown: return text/markdown mime type - rfc7763
authorJaroslav Kysela <perex@perex.cz>
Wed, 30 Mar 2016 11:35:17 +0000 (13:35 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 30 Mar 2016 11:35:17 +0000 (13:35 +0200)
src/webui/doc_md.c

index 803e0fd6ff041fd31ac472efaf6efa0f1ec16021..169a49ef9e74a6ddd21f2aca53c48d5ee093faeb 100644 (file)
@@ -206,7 +206,7 @@ page_markdown(http_connection_t *hc, const char *remain, void *opaque)
     r = HTTP_STATUS_BAD_REQUEST;
 
   if (r == 0)
-    http_output_content(hc, "text/xml");
+    http_output_content(hc, "text/markdown");
 
   return r;
 }