regression: double linebreaks in viewsrc output

(cherry picked from commit d33c331abd)
This commit is contained in:
zotlabs 2018-10-04 04:18:23 +00:00 committed by Mario
parent b96a05494b
commit 2acfa7e525

View File

@ -47,7 +47,7 @@ class Viewsrc extends \Zotlabs\Web\Controller {
$content = escape_tags($r[0]['body']);
$o = (($json) ? json_encode($content) : str_replace("\n",'<br />',$content));
$o = (($json) ? json_encode($content) : $content);
}
}