1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-30 21:30:14 +02:00

[LWNprevBridge] Fix article content parsing (#3078)

This commit is contained in:
John S Long
2022-10-01 23:46:04 -05:00
committed by GitHub
parent 3198a48589
commit 7252a89914

View File

@@ -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'])