diff options
author | redmatrix <git@macgirvin.com> | 2016-06-22 18:00:18 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-06-22 18:00:18 -0700 |
commit | ec8091a102b9cb2f8f47ef87982533bcd5ba9886 (patch) | |
tree | b02ddad387f2668bb931d5d441acc8133e9a39b2 /include/widgets.php | |
parent | f48b12ff52c4fda85c09c1cc476f7cf4c0cfb649 (diff) | |
download | volse-hubzilla-ec8091a102b9cb2f8f47ef87982533bcd5ba9886.tar.gz volse-hubzilla-ec8091a102b9cb2f8f47ef87982533bcd5ba9886.tar.bz2 volse-hubzilla-ec8091a102b9cb2f8f47ef87982533bcd5ba9886.zip |
use the normal html escape for '@' in addresses rather than the high-plane unicode variant. This makes it copy-able, but not easily scrape-able.
Diffstat (limited to 'include/widgets.php')
-rw-r--r-- | include/widgets.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/widgets.php b/include/widgets.php index cdd5d72ab..8a7f4b69f 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -1158,7 +1158,7 @@ function widget_cover_photo($arr) { if(array_key_exists('subtitle', $arr) && isset($arr['subtitle'])) $subtitle = $arr['subtitle']; else - $subtitle = $channel['xchan_addr']; + $subtitle = str_replace('@','@',$channel['xchan_addr']); $c = get_cover_photo($channel_id,'html'); |