diff options
author | zotlabs <mike@macgirvin.com> | 2018-10-03 21:18:23 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-10-03 21:18:23 -0700 |
commit | d33c331abd3ae500fc7cdac206ea647c4c71905e (patch) | |
tree | 8ab5f2826f983577464edf0ce941c6a6f6d2e405 /Zotlabs | |
parent | 7c1e99884cf9013d68dcce174e8f8d4f9dac49f7 (diff) | |
download | volse-hubzilla-d33c331abd3ae500fc7cdac206ea647c4c71905e.tar.gz volse-hubzilla-d33c331abd3ae500fc7cdac206ea647c4c71905e.tar.bz2 volse-hubzilla-d33c331abd3ae500fc7cdac206ea647c4c71905e.zip |
regression: double linebreaks in viewsrc output
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/Viewsrc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Viewsrc.php b/Zotlabs/Module/Viewsrc.php index 5900e385a..119990b57 100644 --- a/Zotlabs/Module/Viewsrc.php +++ b/Zotlabs/Module/Viewsrc.php @@ -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); } } |