11683-add-spotify-mp3 #7

Open
mravi wants to merge 10 commits from 11683-add-spotify-mp3 into master
2 changed files with 2 additions and 2 deletions
Showing only changes of commit fdfebf783e - Show all commits

View File

@ -5,4 +5,4 @@ register = template.Library()
@register.filter
def ph_html_decode(value):
return unescape(value)
return unescape(str(value))

View File

@ -25,7 +25,7 @@
{% endif %}
{% elif block.block_type == 'iframe' %}
{% autoescape off %}
{{ block.value|ph_html_decode }}
{{ block.value|richtext|ph_html_decode}}
{% endautoescape %}
{% elif block.block_type != 'info' %}
<p class="block-{{ block.block_type }}">