aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-11-13 19:38:30 -0800
committerfriendica <info@friendica.com>2011-11-13 19:38:30 -0800
commitc659512f32e449253482fdb57ae67ed25ac35c34 (patch)
tree1f5508338474b5ae880f336618be58903dd91809
parent973620a9e6f0fad140e9b6f9145dc5cd4f7bf2ca (diff)
downloadvolse-hubzilla-c659512f32e449253482fdb57ae67ed25ac35c34.tar.gz
volse-hubzilla-c659512f32e449253482fdb57ae67ed25ac35c34.tar.bz2
volse-hubzilla-c659512f32e449253482fdb57ae67ed25ac35c34.zip
D* doesn't like html entities in post. Convert our hijack-proof hashtag replacement to utf-8
-rw-r--r--mod/tagger.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/tagger.php b/mod/tagger.php
index 9e458a5b7..76ec3366c 100644
--- a/mod/tagger.php
+++ b/mod/tagger.php
@@ -105,7 +105,7 @@ EOT;
if(! isset($bodyverb))
return;
- $termlink = '&#x2317;[url=' . $a->get_baseurl() . '/search?search=' . urlencode($term) . ']'. $term . '[/url]';
+ $termlink = html_entity_decode('&#x2317;') . '[url=' . $a->get_baseurl() . '/search?search=' . urlencode($term) . ']'. $term . '[/url]';
$arr = array();