diff options
author | Brenda Wallace <shiny@cpan.org> | 2009-07-20 14:02:26 +1200 |
---|---|---|
committer | Brenda Wallace <shiny@cpan.org> | 2009-07-20 14:02:26 +1200 |
commit | 590982612206acaa902d7bc87429ec4296bfa17f (patch) | |
tree | da90720a3752178450f69787c72179698e3b2839 | |
parent | 711ade9835f3523dcf83702834adef313f9cf54d (diff) |
show full utf8 in tags
-rw-r--r-- | lib/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php index 9e8ec41d2..edc396cc0 100644 --- a/lib/util.php +++ b/lib/util.php @@ -404,7 +404,7 @@ function common_render_text($text) $r = preg_replace('/[\x{0}-\x{8}\x{b}-\x{c}\x{e}-\x{19}]/', '', $r); $r = common_replace_urls_callback($r, 'common_linkify'); - $r = preg_replace('/(^|\(|\[|\s+)#([A-Za-z0-9_\-\.]{1,64})/e', "'\\1#'.common_tag_link('\\2')", $r); + $r = preg_replace('/(^|\(|\[|\s+)#([\pL\pN_\-\.]{1,64})/e', "'\\1#'.common_tag_link('\\2')", $r); // XXX: machine tags return $r; } |