mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-01-17 22:28:22 +01:00
remove empty brackets from title
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
dc6928316b
commit
1f85a2294d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user