aboutsummaryrefslogtreecommitdiffstats
path: root/util/wp/post_to_red
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-04 00:19:29 -0800
committerfriendica <info@friendica.com>2013-12-04 00:19:29 -0800
commitd8903f09f5a6d637b4258632eee16859373e1893 (patch)
treed00d8f6c5dd8032516a7577ac6b37ed6e1be22bc /util/wp/post_to_red
parent7187c493e16abc98a8e1ed53d63a3d93e63db4af (diff)
downloadvolse-hubzilla-d8903f09f5a6d637b4258632eee16859373e1893.tar.gz
volse-hubzilla-d8903f09f5a6d637b4258632eee16859373e1893.tar.bz2
volse-hubzilla-d8903f09f5a6d637b4258632eee16859373e1893.zip
include re-organisation and more doco, post_to_red fix ampersands in categories
Diffstat (limited to 'util/wp/post_to_red')
-rw-r--r--util/wp/post_to_red/post_to_red.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/wp/post_to_red/post_to_red.php b/util/wp/post_to_red/post_to_red.php
index 11b1b48f7..e7f18985e 100644
--- a/util/wp/post_to_red/post_to_red.php
+++ b/util/wp/post_to_red/post_to_red.php
@@ -96,7 +96,7 @@ function post_to_red_post($post_id) {
foreach($terms as $term) {
if(strlen($cats))
$cats .= ',';
- $cats .= $term->name;
+ $cats .= htmlspecialchars_decode($term->name, ENT_COMPAT);
}
}