Add custom_filters : ph_html_decode

This commit is contained in:
app 2023-05-16 10:28:45 +00:00
parent a7fdf769c4
commit 0289586811

View file

@ -0,0 +1,8 @@
from django import template
from html import unescape
register = template.Library()
@register.filter
def ph_html_decode(value):
return unescape(value)