aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-10-03 21:18:23 -0700
committerzotlabs <mike@macgirvin.com>2018-10-03 21:18:23 -0700
commitd33c331abd3ae500fc7cdac206ea647c4c71905e (patch)
tree8ab5f2826f983577464edf0ce941c6a6f6d2e405 /Zotlabs/Module
parent7c1e99884cf9013d68dcce174e8f8d4f9dac49f7 (diff)
downloadvolse-hubzilla-d33c331abd3ae500fc7cdac206ea647c4c71905e.tar.gz
volse-hubzilla-d33c331abd3ae500fc7cdac206ea647c4c71905e.tar.bz2
volse-hubzilla-d33c331abd3ae500fc7cdac206ea647c4c71905e.zip
regression: double linebreaks in viewsrc output
Diffstat (limited to 'Zotlabs/Module')
-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);
}
}