[filter] improve Join filter
The filter will now act a little bit more like the join command I also added some parameters that will help formatting (newLine, addBedore, addAfter)
This commit is contained in:
parent
a3d351eb88
commit
11a63c33ce
5 changed files with 22 additions and 10 deletions
|
|
@ -61,7 +61,7 @@ class SearchPage(HTMLPage):
|
|||
klass = BaseJobAdvert
|
||||
|
||||
obj_url = Format('%s#%s', Env('url'), Env('id'))
|
||||
obj_description = Join('%s\r\n',
|
||||
obj_description = Join('\r\n',
|
||||
'div/fieldset/*[(@class="titreParagraphe" or @class="normal")]',
|
||||
textCleaner=CleanHTML)
|
||||
obj_title = CleanText('div/span[@class="intituleposte"]')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue