aboutsummaryrefslogtreecommitdiffstats
path: root/mod/xchan.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-17 19:14:23 -0700
committerfriendica <info@friendica.com>2014-09-17 19:14:23 -0700
commit02fa970569dfd190ffa390b556a67fe51e95121a (patch)
tree0bee73ba3fbfd68622ac6d52f3ec88243eb1cf39 /mod/xchan.php
parent618b93d42e54e0ecefb69d6e1acf24429d39785e (diff)
downloadvolse-hubzilla-02fa970569dfd190ffa390b556a67fe51e95121a.tar.gz
volse-hubzilla-02fa970569dfd190ffa390b556a67fe51e95121a.tar.bz2
volse-hubzilla-02fa970569dfd190ffa390b556a67fe51e95121a.zip
make the output a bit more readable
Diffstat (limited to 'mod/xchan.php')
-rw-r--r--mod/xchan.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/xchan.php b/mod/xchan.php
index a4dc70550..714603f6e 100644
--- a/mod/xchan.php
+++ b/mod/xchan.php
@@ -22,7 +22,7 @@ function xchan_content(&$a) {
if($r) {
foreach($r as $rr) {
- $o .= str_replace("\n","<br />",print_r($rr,true)) . EOL;
+ $o .= str_replace(array("\n"," "),array("<br/>","&nbsp;"),print_r($rr,true)) . EOL;
$s = q("select * from hubloc where hubloc_hash like '%s'",
dbesc($r[0]['xchan_hash'])
@@ -30,7 +30,7 @@ function xchan_content(&$a) {
if($s) {
foreach($s as $rr)
- $o .= str_replace("\n","<br />",print_r($rr,true)) . EOL;
+ $o .= str_replace(array("\n"," "),array("<br/>","&nbsp;"),print_r($rr,true)) . EOL;
}
}
}