mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-03 01:25:21 +02:00
fix: small tweaks (#4057)
This commit is contained in:
parent
3cba984d22
commit
001dd47439
4 changed files with 13 additions and 44 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue