mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-02-03 17:01:00 +03:00
[LWNprevBridge] Fix article content parsing (#3078)
This commit is contained in:
parent
3198a48589
commit
7252a89914
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ EOD;
|
|||
if (
|
||||
!$node || (
|
||||
$node->nodeType !== XML_TEXT_NODE &&
|
||||
$node->nodeName === 'h2' || (
|
||||
$node->nodeName === 'h3' || (
|
||||
!is_null($node->attributes) &&
|
||||
!is_null($class = $node->attributes->getNamedItem('class')) &&
|
||||
in_array($class->nodeValue, ['Cat1HL','Cat2HL'])
|
||||
|
|
Loading…
Add table
Reference in a new issue