aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorTobias Diekershoff <tobias.diekershoff@gmx.net>2011-10-05 20:59:21 +0200
committerTobias Diekershoff <tobias.diekershoff@gmx.net>2011-10-05 20:59:21 +0200
commit90870d4872dbc8ff408183a79fd005b905aa86c2 (patch)
treecdd66eea79a7638b520576d381d08368b05a19c1 /include/text.php
parente88a8564c849b199ca552fa307f385b422d5d00a (diff)
parent5cb0b0ed4591a578720e0c985974db2d95f3810a (diff)
downloadvolse-hubzilla-90870d4872dbc8ff408183a79fd005b905aa86c2.tar.gz
volse-hubzilla-90870d4872dbc8ff408183a79fd005b905aa86c2.tar.bz2
volse-hubzilla-90870d4872dbc8ff408183a79fd005b905aa86c2.zip
Merge branch 'master' of git://github.com/friendika/Free-Friendika
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/text.php b/include/text.php
index 656cd8809..701c1e41b 100644
--- a/include/text.php
+++ b/include/text.php
@@ -744,7 +744,12 @@ function link_compare($a,$b) {
if(! function_exists('prepare_body')) {
function prepare_body($item,$attach = false) {
+ call_hooks('prepare_body_init', $item);
+
$s = prepare_text($item['body']);
+
+ call_hooks('prepare_body', $s);
+
if(! $attach)
return $s;
@@ -776,6 +781,7 @@ function prepare_body($item,$attach = false) {
}
$s .= '<div class="clear"></div></div>';
}
+ call_hooks('prepare_body_final', $s);
return $s;
}}