Skip to content

Allow HTML in title_resolved (to allow font-awesome icons) #305

Open
@PetrDlouhy

Description

@PetrDlouhy

There is 1 thing, for which I have to override the whole template. I am using font-awesome icons, so I need to make the item.title_resolved safe (see #91 (comment)). I don't think, that is wise to add something like that to templates generally (in some systems users could have access to the sitetree editing). But I can either do something like

{% block title %}{{ item.title_resolved }}{% endblock %}

so that only this part of the template needs to be overriden, or it can be done by some settings (like SITETREE_FORCE_SAFE=True).
What do you think is better?

This has been already discussed at #304 and #91 (comment)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions