aboutsummaryrefslogtreecommitdiffstats
path: root/include/help.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-04-04 16:33:11 -0700
committerzotlabs <mike@macgirvin.com>2018-04-04 16:33:11 -0700
commitf7481396060a5a57cdd5fe7055eed5ad3225f8f1 (patch)
tree927e9594e92c0efa15204419ad6932eb085bac13 /include/help.php
parent8871f8d0f4b33a4ed76ce18c15b7a8fcab916d6e (diff)
downloadvolse-hubzilla-f7481396060a5a57cdd5fe7055eed5ad3225f8f1.tar.gz
volse-hubzilla-f7481396060a5a57cdd5fe7055eed5ad3225f8f1.tar.bz2
volse-hubzilla-f7481396060a5a57cdd5fe7055eed5ad3225f8f1.zip
allow the link target attribute to be modified in bbcode() from much further up the call stack in prepare_page() which will usually refer to a local item.
Diffstat (limited to 'include/help.php')
-rw-r--r--include/help.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/help.php b/include/help.php
index 0dc37e517..ce389b4db 100644
--- a/include/help.php
+++ b/include/help.php
@@ -306,7 +306,7 @@ function store_doc_file($s) {
require_once('include/html2plain.php');
- $item['body'] = html2plain(prepare_text(file_get_contents($s),$mimetype, true));
+ $item['body'] = html2plain(prepare_text(file_get_contents($s),$mimetype, [ 'cache' => true ]));
$item['mimetype'] = 'text/plain';
$item['plink'] = z_root() . '/' . str_replace('doc','help',$s);