mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 18:14:44 +02:00
Fix lfc.pl bug with page content when comments exist (#4425)
* Add lfc.pl bridge * Adjust bridge * Add comments section * Fix a bug with page content when comments exist * Add brtsos to CONTRIBUTORS.md
This commit is contained in:
parent
4da61b7922
commit
ae8394d976
2 changed files with 3 additions and 2 deletions
|
@ -78,8 +78,8 @@ class LfcPlBridge extends BridgeAbstract
|
|||
|
||||
foreach ($commentsDom as $comment) {
|
||||
$header = $comment->find('.header', 0)->plaintext;
|
||||
$content = $comment->find('.content', 0)->plaintext;
|
||||
$comments .= $header . '<br />' . $content . '<br /><br />';
|
||||
$commentContent = $comment->find('.content', 0)->plaintext;
|
||||
$comments .= $header . '<br />' . $commentContent . '<br /><br />';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue