summaryrefslogtreecommitdiff
path: root/lib/Minz/Url.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Minz/Url.php')
-rw-r--r--lib/Minz/Url.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Minz/Url.php b/lib/Minz/Url.php
index 879077d0f..a2809257d 100644
--- a/lib/Minz/Url.php
+++ b/lib/Minz/Url.php
@@ -31,8 +31,10 @@ class Minz_Url {
if ($isArray) {
$url_string .= self::printUri($url, $encodage);
- } else {
+ } elseif ($encodage === 'html') {
$url_string = Minz_Helper::htmlspecialchars_utf8($url_string . $url);
+ } else {
+ $url_string .= $url;
}
return $url_string;