]> git.mxchange.org Git - friendica.git/commitdiff
preformat webfinger output
authorFriendika <info@friendika.com>
Tue, 28 Jun 2011 01:13:44 +0000 (18:13 -0700)
committerFriendika <info@friendika.com>
Tue, 28 Jun 2011 01:13:44 +0000 (18:13 -0700)
mod/webfinger.php

index dd6d72a13cca9963c7182c67a6df1badbebec73e..5ef29e43f1679d3417851e14f35c0f1cd2edc8c3 100644 (file)
@@ -18,7 +18,9 @@ function webfinger_content(&$a) {
                        $res = webfinger($addr);
                else
                        $res = lrdd($addr);
+               $o .= '<pre>';
                $o .= str_replace("\n",'<br />',print_r($res,true));
+               $o .= '</pre>';
        }
        return $o;
 }
\ No newline at end of file