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.
This commit is contained in:
@@ -1607,7 +1607,7 @@ function prepare_page($item) {
|
||||
// prepare_body calls unobscure() as a side effect. Do it here so that
|
||||
// the template will get passed an unobscured title.
|
||||
|
||||
$body = prepare_body($item, true);
|
||||
$body = prepare_body($item, [ 'newwin' => false ]);
|
||||
if(App::$page['template'] == 'none') {
|
||||
$tpl = 'page_display_empty.tpl';
|
||||
|
||||
|
Reference in New Issue
Block a user