]> git.mxchange.org Git - friendica.git/commitdiff
I want HTML code!
authorMax Weller <igitt@max-weller.de>
Sat, 23 Jun 2012 20:35:43 +0000 (22:35 +0200)
committerMax Weller <igitt@max-weller.de>
Sat, 23 Jun 2012 20:35:43 +0000 (22:35 +0200)
include/api.php

index 7466c199aef297df1e9fa285e8a80a32e56c325e..32579fe7d387959bb7972f5a116bdab9373aee7a 100644 (file)
                        if (isset($_GET["getText"])) {
         $d['title'] = $item['title'] ;
         if ($_GET["getText"] == "true") {
-          $d['text'] = html2plain(bbcode($item['body']), 0);
+          $d['text'] = bbcode($item['body']);
         }
       } else {
         $d['text'] = $item['title']."\n".html2plain(bbcode($item['body']), 0);