aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/api.php b/include/api.php
index 7466c199a..32579fe7d 100644
--- a/include/api.php
+++ b/include/api.php
@@ -1605,7 +1605,7 @@
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);