]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #1337 from annando/1501-html-in-poco
authorfabrixxm <fabrix.xm@gmail.com>
Wed, 4 Feb 2015 07:29:21 +0000 (08:29 +0100)
committerfabrixxm <fabrix.xm@gmail.com>
Wed, 4 Feb 2015 07:29:21 +0000 (08:29 +0100)
Bugfix: The portable contacts send data as html

include/socgraph.php

index 07bbee32ac013938f47b0e96f473b790b5607cb7..2738f8a70f3814b758a4f75f63d21ea4c696b00c 100644 (file)
@@ -20,6 +20,9 @@ require_once('include/datetime.php');
 
 
 function poco_load($cid,$uid = 0,$zcid = 0,$url = null) {
+
+       require_once("include/html2bbcode.php");
+
        $a = get_app();
 
        if($cid) {
@@ -107,7 +110,7 @@ function poco_load($cid,$uid = 0,$zcid = 0,$url = null) {
                        $location = $entry->currentLocation;
 
                if(isset($entry->aboutMe))
-                       $about = $entry->aboutMe;
+                       $about = html2bbcode($entry->aboutMe);
 
                if(isset($entry->gender))
                        $gender = $entry->gender;