mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-03 15:17:33 +02:00
remove empty brackets from title
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
@@ -118,7 +118,12 @@ class LWNprevBridge extends BridgeAbstract{
|
|||||||
}
|
}
|
||||||
$h2PrevSibling=null;
|
$h2PrevSibling=null;
|
||||||
|
|
||||||
$item->title='['.$cat1.($cat2?'/'.$cat2:'').'] '.$h2->textContent;
|
$item->title='';
|
||||||
|
if(!empty($cat1)){
|
||||||
|
$item->title.='['.$cat1.($cat2?'/'.$cat2:'').'] ';
|
||||||
|
}
|
||||||
|
$item->title.=$h2->textContent;
|
||||||
|
|
||||||
$node=$h2;
|
$node=$h2;
|
||||||
$content='';
|
$content='';
|
||||||
$contentEnd=false;
|
$contentEnd=false;
|
||||||
|
Reference in New Issue
Block a user