diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-06-25 20:07:10 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-06-25 20:07:10 -0700 |
commit | a3d7e8456ad77f8409f6b3a673bb1c8d2b53949d (patch) | |
tree | 1cf70f7ff92dc7a489ae49a4877dc7dffeb38ab5 /include/text.php | |
parent | 70975dda4ae5237914b510ee61559fc8233ab34d (diff) | |
download | volse-hubzilla-a3d7e8456ad77f8409f6b3a673bb1c8d2b53949d.tar.gz volse-hubzilla-a3d7e8456ad77f8409f6b3a673bb1c8d2b53949d.tar.bz2 volse-hubzilla-a3d7e8456ad77f8409f6b3a673bb1c8d2b53949d.zip |
undo the disabling of browser_prefetch and for the time being revert the HTML cache until we can isolate all the zid and observer calls. Also get rid of youtube and vimeo bbcode tags which we should not be using any more.
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/text.php b/include/text.php index 33562a69f..be465d0f4 100644 --- a/include/text.php +++ b/include/text.php @@ -1442,23 +1442,23 @@ function generate_named_map($location) { function prepare_body(&$item,$attach = false) { - if($item['html']) { - $s = bb_observer($item['html']); - } - else { +// if($item['html']) { +// $s = bb_observer($item['html']); +// } +// else { call_hooks('prepare_body_init', $item); - unobscure($item); +// unobscure($item); $s = prepare_text($item['body'],$item['mimetype'], true); - } +// } $prep_arr = array('item' => $item, 'html' => $s); call_hooks('prepare_body', $prep_arr); $s = $prep_arr['html']; - q("update item set html = '%s' where id = %d", - dbesc($s), - intval($item['id']) - ); +// q("update item set html = '%s' where id = %d", +// dbesc($s), +// intval($item['id']) +// ); if(! $attach) { return $s; |