mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-08 02:26:35 +00:00
[GithubIssueBridge] Fix non existing comments count
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
d7cabfca54
commit
d5085a4116
@ -192,7 +192,7 @@ class GithubIssueBridge extends BridgeAbstract {
|
||||
ENT_QUOTES,
|
||||
'UTF-8'
|
||||
);
|
||||
$comments = $issue->find('.col-5', 0)->plaintext;
|
||||
$comments = trim($issue->find('.col-5', 0)->plaintext);
|
||||
$item['content'] .= "\n" . 'Comments: ' . ($comments ? $comments : '0');
|
||||
$item['uri'] = self::URI
|
||||
. $issue->find('.js-navigation-open', 0)->getAttribute('href');
|
||||
|
Loading…
Reference in New Issue
Block a user