Closed LilyFoote closed 7 years ago
The template could be updated to render the content correctly:
{{ page.content.html|safe }}
But that would mean marking the content as safe by default, and I don't think I trust that. One solution would be to use django-bleach
instead, but that will be useless if (for whatever reason) one needed to output a script tag from one of the content blocks. Perhaps we could improve django-sirtrevor
, or perhaps we will need to go in another direction.
For reference, my new (as yet non-functional) attempt to use Sir Trevor sensibly.
As the pages module is gone (for the moment, at least), I'm closing this issue.
Currently viewing a
Page
just displays itsjson
representation.