forked from lolcat/4get
Merge pull request 'unescape forward slashes for urls in gen_config' (#39) from feature/fix_escape_urls into master
Reviewed-on: lolcat/4get#39
This commit is contained in:
@@ -28,7 +28,7 @@ function type_to_string($n) {
|
||||
return "\"$n\"";
|
||||
}
|
||||
if ($type === "array") {
|
||||
return json_encode($n);
|
||||
return json_encode($n, JSON_UNESCAPED_SLASHES);
|
||||
}
|
||||
return $n;
|
||||
}
|
||||
|
Reference in New Issue
Block a user