oh that's why
This commit is contained in:
parent
56e408f467
commit
dfa2efcecf
@ -1248,12 +1248,13 @@ function render_location_default($item) {
|
|||||||
|
|
||||||
|
|
||||||
function prepare_page($item) {
|
function prepare_page($item) {
|
||||||
|
|
||||||
return replace_macros(get_markup_template('page_display.tpl'),array(
|
return replace_macros(get_markup_template('page_display.tpl'),array(
|
||||||
'$author' => $item['author']['xchan_name'],
|
'$author' => $item['author']['xchan_name'],
|
||||||
'$auth_url' => $item['author']['xchan_url'],
|
'$auth_url' => $item['author']['xchan_url'],
|
||||||
'$date' => datetime_convert('UTC',date_default_timezone_get(),$item['created'],'Y-m-d H:i'),
|
'$date' => datetime_convert('UTC',date_default_timezone_get(),$item['created'],'Y-m-d H:i'),
|
||||||
'$title' => smilies(bbcode($item['title'])),
|
'$title' => smilies(bbcode($item['title'])),
|
||||||
'$body' => smilies(bbcode($item['body']))
|
'$body' => prepare_text($item['body'],$item['mimetype'])
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1199,7 +1199,8 @@ function prepare_text($text,$content_type = 'text/bbcode') {
|
|||||||
$s = zidify_links($s);
|
$s = zidify_links($s);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
//logger('prepare: ' . $s);
|
|
||||||
|
//logger('prepare_text: ' . $s);
|
||||||
|
|
||||||
return $s;
|
return $s;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user