From c445ba6ebba6b8647c5a918cc9d65c02bc644c23 Mon Sep 17 00:00:00 2001 From: Yaman Qalieh Date: Thu, 14 Oct 2021 05:13:18 -0400 Subject: [PATCH] [MozillaBugTrackerBridge] Fix incorrect newlines in feed title (#2298) --- bridges/MozillaBugTrackerBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/MozillaBugTrackerBridge.php b/bridges/MozillaBugTrackerBridge.php index 439e148d..58cea51e 100644 --- a/bridges/MozillaBugTrackerBridge.php +++ b/bridges/MozillaBugTrackerBridge.php @@ -65,7 +65,7 @@ class MozillaBugTrackerBridge extends BridgeAbstract { defaultLinkTo($html, self::URI); // Store header information into private members - $this->bugid = $html->find('#field-value-bug_id', 0)->plaintext; + $this->bugid = trim($html->find('#field-value-bug_id', 0)->plaintext); $this->bugdesc = $html->find('h1#field-value-short_desc', 0)->plaintext; // Get and limit comments