mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-31 05:40:24 +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;
|
||||
|
||||
$item->title='['.$cat1.($cat2?'/'.$cat2:'').'] '.$h2->textContent;
|
||||
$item->title='';
|
||||
if(!empty($cat1)){
|
||||
$item->title.='['.$cat1.($cat2?'/'.$cat2:'').'] ';
|
||||
}
|
||||
$item->title.=$h2->textContent;
|
||||
|
||||
$node=$h2;
|
||||
$content='';
|
||||
$contentEnd=false;
|
||||
|
Reference in New Issue
Block a user