aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Editpost.php
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-05-19 07:04:36 -0400
committerAndrew Manning <tamanning@zoho.com>2016-05-19 07:04:36 -0400
commit062cb7753981f9f2a3e52d1322c81fe03f08747b (patch)
treef7d869cf2652c8b4cb8189e9e59bd2291e386ba7 /Zotlabs/Module/Editpost.php
parentb55e2776ccc72be172cdf9a6d29e35716a592708 (diff)
parent50d1d06b0324737ca6dc7dab43e42217ee9381b4 (diff)
downloadvolse-hubzilla-062cb7753981f9f2a3e52d1322c81fe03f08747b.tar.gz
volse-hubzilla-062cb7753981f9f2a3e52d1322c81fe03f08747b.tar.bz2
volse-hubzilla-062cb7753981f9f2a3e52d1322c81fe03f08747b.zip
Merge remote-tracking branch 'upstream/dev' into plugin-repo-ui
Diffstat (limited to 'Zotlabs/Module/Editpost.php')
-rw-r--r--Zotlabs/Module/Editpost.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Editpost.php b/Zotlabs/Module/Editpost.php
index 43edf2c00..da859de3e 100644
--- a/Zotlabs/Module/Editpost.php
+++ b/Zotlabs/Module/Editpost.php
@@ -87,11 +87,11 @@ class Editpost extends \Zotlabs\Web\Controller {
'hide_location' => true,
'mimetype' => $itm[0]['mimetype'],
'ptyp' => $itm[0]['obj_type'],
- 'body' => undo_post_tagging($itm[0]['body']),
+ 'body' => htmlspecialchars_decode(undo_post_tagging($itm[0]['body']),ENT_COMPAT),
'post_id' => $post_id,
'defloc' => $channel['channel_location'],
'visitor' => true,
- 'title' => htmlspecialchars($itm[0]['title'],ENT_COMPAT,'UTF-8'),
+ 'title' => htmlspecialchars_decode($itm[0]['title'],ENT_COMPAT),
'category' => $category,
'showacl' => false,
'profile_uid' => $owner_uid,