diff options
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r-- | src/ui/documentwidget.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index ee669c1a..8c87ba1a 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -1481,6 +1481,10 @@ static void updateDocument_DocumentWidget_(iDocumentWidget *d, | |||
1481 | docFormat = gemini_SourceFormat; | 1481 | docFormat = gemini_SourceFormat; |
1482 | setRange_String(&d->sourceMime, param); | 1482 | setRange_String(&d->sourceMime, param); |
1483 | } | 1483 | } |
1484 | else if (equal_Rangecc(param, "text/markdown")) { | ||
1485 | docFormat = markdown_SourceFormat; | ||
1486 | setRange_String(&d->sourceMime, param); | ||
1487 | } | ||
1484 | else if (startsWith_Rangecc(param, "text/") || | 1488 | else if (startsWith_Rangecc(param, "text/") || |
1485 | equal_Rangecc(param, "application/json") || | 1489 | equal_Rangecc(param, "application/json") || |
1486 | equal_Rangecc(param, "application/x-pem-file") || | 1490 | equal_Rangecc(param, "application/x-pem-file") || |