|
|
@@ -214,8 +214,8 @@ function escapeToUnicodeAlternative(string $text, bool $extended = true): string
|
|
|
|
|
|
// https://raw.githubusercontent.com/mihaip/google-reader-api/master/wiki/StreamId.wiki
|
|
|
if ($extended) {
|
|
|
- $problem += ["'", '"', '^', '?', '\\', '/', ',', ';'];
|
|
|
- $replace += ["’", '"', '^', '?', '\', '/', ',', ';'];
|
|
|
+ $problem = array_merge($problem, ["'", '"', '^', '?', '\\', '/', ',', ';']);
|
|
|
+ $replace = array_merge($replace, ["’", '"', '^', '?', '\', '/', ',', ';']);
|
|
|
}
|
|
|
|
|
|
return trim(str_replace($problem, $replace, $text));
|