mirror of
https://github.com/danpros/htmly.git
synced 2026-04-22 13:36:22 +05:30
Unicode support
Support unicode for tag and URL eg. Chinese, Japanese, Arabic etc.
This commit is contained in:
parent
16143d33db
commit
c7441b84f6
2 changed files with 11 additions and 12 deletions
|
|
@ -591,7 +591,7 @@ function get_related($tag) {
|
|||
$perpage = config('related.count');
|
||||
$posts = get_tag(strip_tags($tag), 1, $perpage+1, true);
|
||||
$tmp = array();
|
||||
$req = $_SERVER['REQUEST_URI'];
|
||||
$req = urldecode($_SERVER['REQUEST_URI']);
|
||||
|
||||
foreach ($posts as $post) {
|
||||
$url = $post->url;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue