diff options
4 files changed, 4 insertions, 4 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/course.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/course.html index 43a5da3..bed3a68 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/course.html +++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/course.html @@ -21,7 +21,7 @@ {{course_gst.name}} {% endif%} </h2> - {{course_gst.content|safe}} + {{course_gst.content|default_if_none:""|safe}} </a> {% if user.is_authenticated %} diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/ebook.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/ebook.html index 44cd105..4b969ba 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/ebook.html +++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/ebook.html @@ -15,7 +15,7 @@ {% endif%} </h2> </a> - {{ebook_gst.content|safe}} + {{ebook_gst.content|default_if_none:""|safe}} {% endblock %} diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/file.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/file.html index ba8b5be..3cf5c35 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/file.html +++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/file.html @@ -53,7 +53,7 @@ {{app_gst.name}} {% endif%} </h2> - {{app_gst.content|safe}} + {{app_gst.content|default_if_none:""|safe}} </a> {% endblock %} diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/theme.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/theme.html index 0f0d237..7fa7240 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/theme.html +++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/theme.html @@ -373,7 +373,7 @@ {% endif%} </h3> </a> - {{theme_GST.content|safe}} + {{theme_GST.content|default_if_none:""|safe}} {% endblock %} {% block related_content %} |