mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-06 08:37:30 +02:00
fix: small tweaks (#4057)
This commit is contained in:
@@ -21,6 +21,10 @@ class GatesNotesBridge extends BridgeAbstract
|
||||
|
||||
$rawContent = getContents($apiUrl);
|
||||
$cleanedContent = trim($rawContent, '"');
|
||||
$cleanedContent = str_replace([
|
||||
'<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">',
|
||||
'</string>'
|
||||
], '', $cleanedContent);
|
||||
$cleanedContent = str_replace('\r\n', "\n", $cleanedContent);
|
||||
$cleanedContent = stripslashes($cleanedContent);
|
||||
|
||||
|
Reference in New Issue
Block a user