aboutsummaryrefslogtreecommitdiffstats
path: root/mod/help.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-12-01 18:53:49 -0800
committerfriendica <info@friendica.com>2014-12-01 18:53:49 -0800
commitf3b92c0ef228a25c6d6734d60a23251506317b3f (patch)
treef20fa34ea54008af6b6ea39cf9e6800ee3aec3e8 /mod/help.php
parent0b84ba1eab8a583f7cf89f44f37b78e9cac72e1b (diff)
parent460d379e7efc074808109b4c9acd0aea46460d16 (diff)
downloadvolse-hubzilla-f3b92c0ef228a25c6d6734d60a23251506317b3f.tar.gz
volse-hubzilla-f3b92c0ef228a25c6d6734d60a23251506317b3f.tar.bz2
volse-hubzilla-f3b92c0ef228a25c6d6734d60a23251506317b3f.zip
Merge https://github.com/friendica/red into pending_merge
Conflicts: version.inc
Diffstat (limited to 'mod/help.php')
-rw-r--r--mod/help.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/help.php b/mod/help.php
index 4823f1c07..a3dafcc9b 100644
--- a/mod/help.php
+++ b/mod/help.php
@@ -98,7 +98,7 @@ function preg_callback_help_include($matches) {
if($matches[1]) {
$include = str_replace($matches[0],load_doc_file($matches[1]),$matches[0]);
- if(preg_match('/\.bb$/', $matches[1])) {
+ if(preg_match('/\.bb$/', $matches[1]) || preg_match('/\.txt$/', $matches[1])) {
require_once('include/bbcode.php');
$include = bbcode($include);
} elseif(preg_match('/\.md$/', $matches[1])) {