aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Wiki_pages.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-09-13 22:37:18 -0700
committerzotlabs <mike@macgirvin.com>2017-09-13 22:37:18 -0700
commit55aaabc2f13a36f73af944e17558b59f265322ea (patch)
tree298019d07ebd66be2e38b43a67ff034cc27002dd /Zotlabs/Widget/Wiki_pages.php
parent5be132f877f792e7b122a2b6ca18934b31b2f10c (diff)
downloadvolse-hubzilla-55aaabc2f13a36f73af944e17558b59f265322ea.tar.gz
volse-hubzilla-55aaabc2f13a36f73af944e17558b59f265322ea.tar.bz2
volse-hubzilla-55aaabc2f13a36f73af944e17558b59f265322ea.zip
add text/plain type to wiki
Diffstat (limited to 'Zotlabs/Widget/Wiki_pages.php')
-rw-r--r--Zotlabs/Widget/Wiki_pages.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Wiki_pages.php b/Zotlabs/Widget/Wiki_pages.php
index 9d248759b..3999d9858 100644
--- a/Zotlabs/Widget/Wiki_pages.php
+++ b/Zotlabs/Widget/Wiki_pages.php
@@ -50,7 +50,7 @@ class Wiki_pages {
'$canadd' => $can_create,
'$candel' => $can_delete,
'$addnew' => t('Add new page'),
- '$mimetype' => mimetype_select(0,$w['mimeType'], [ 'text/markdown','text/bbcode' ]),
+ '$mimetype' => mimetype_select(0,$w['mimeType'], [ 'text/markdown','text/bbcode', 'text/plain' ]),
'$pageName' => array('pageName', t('Page name')),
'$refresh' => $arr['refresh']
));