preserve utf-8 on notification emails
This commit is contained in:
parent
42e6b6cfe4
commit
a0f6f8ad53
2 changed files with 31 additions and 3 deletions
16
boot.php
16
boot.php
|
@ -1295,4 +1295,18 @@ function activity_match($haystack,$needle) {
|
|||
if(($haystack === $needle) || (($basename($needle) === $haystack) && strstr($needle,NAMESPACE_ACTIVITY_SCHEMA)))
|
||||
return true;
|
||||
return false;
|
||||
}}
|
||||
}}
|
||||
|
||||
|
||||
if(! function_exists('get_tags')) {
|
||||
function get_tags($s) {
|
||||
if(preg_match_all('/([@#][^ ,.:?\-]*)[ ,.:?\-]/',$s,$match))
|
||||
return $match[1];
|
||||
}}
|
||||
|
||||
|
||||
if(! function_exists('qp')) {
|
||||
function qp($s) {
|
||||
return str_replace ("%","=",rawurlencode($s));
|
||||
}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue