Skip to content

Commit fcca10c

Browse files
committed
Allow viewing documents as both .txt and .md
1 parent fd0f898 commit fcca10c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controllers/Document/View.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function run(Router &$router) {
5252
case "htm": case "html": case "":
5353
$view = new DocumentViewHtmlView();
5454
break;
55-
case "txt":
55+
case "md": case "txt":
5656
$view = new DocumentViewPlainView();
5757
break;
5858
default:

0 commit comments

Comments
 (0)