commands: use unsafe templating for place page titles
This commit is contained in:
parent
9909e848a6
commit
1b523bc8c0
|
@ -61,7 +61,7 @@ class Command(BaseCommand):
|
|||
page = Page()
|
||||
page_title_template = json_cell_type.get(
|
||||
'toodego:page-title-template',
|
||||
'{{ properties.nom }}')
|
||||
'{{ properties.nom|safe }}')
|
||||
ctx = Context({'properties': feature['properties']})
|
||||
page.title = Template(page_title_template).render(ctx)
|
||||
if not page.title:
|
||||
|
|
Loading…
Reference in New Issue