regression: double linebreaks in viewsrc output
(cherry picked from commit d33c331abd
)
This commit is contained in:
parent
b96a05494b
commit
2acfa7e525
@ -47,7 +47,7 @@ class Viewsrc extends \Zotlabs\Web\Controller {
|
|||||||
|
|
||||||
|
|
||||||
$content = escape_tags($r[0]['body']);
|
$content = escape_tags($r[0]['body']);
|
||||||
$o = (($json) ? json_encode($content) : str_replace("\n",'<br />',$content));
|
$o = (($json) ? json_encode($content) : $content);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user