aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-10-04 04:18:23 +0000
committerMario <mario@mariovavti.com>2018-10-05 11:44:32 +0200
commit2acfa7e5255e4a107c0f1c91170e4c24e3fea5bc (patch)
tree656719755502ac84dead322be0d85b12d873d92d
parentb96a05494b5837c0011b02bf9034076e11456da2 (diff)
downloadvolse-hubzilla-2acfa7e5255e4a107c0f1c91170e4c24e3fea5bc.tar.gz
volse-hubzilla-2acfa7e5255e4a107c0f1c91170e4c24e3fea5bc.tar.bz2
volse-hubzilla-2acfa7e5255e4a107c0f1c91170e4c24e3fea5bc.zip
regression: double linebreaks in viewsrc output
(cherry picked from commit d33c331abd3ae500fc7cdac206ea647c4c71905e)
-rw-r--r--Zotlabs/Module/Viewsrc.php2
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);
}
}