aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/item.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/item.php b/mod/item.php
index 0e2456df3..92dc3e7c6 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -430,8 +430,8 @@ function item_post(&$a) {
if($mimetype === 'text/bbcode') {
if(local_user() && local_user() == $profile_uid && feature_enabled(local_user(),'markdown')) {
- require_once('include/bb2diaspora.php');
- $body = diaspora2bb($body,true);
+ require_once('include/bb2diaspora.php');
+ $body = diaspora2bb(escape_tags($body),true);
}