From 250484f57aeae2cfebe8eca4fb406bc768b71415 Mon Sep 17 00:00:00 2001 From: Justin Mayer Date: Sat, 30 Mar 2013 10:50:57 -0700 Subject: Strip tags from article title. Fixes #71. --- notmyidea-cms-fr/templates/article.html | 8 ++++---- notmyidea-cms/templates/article.html | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/notmyidea-cms-fr/templates/article.html b/notmyidea-cms-fr/templates/article.html index 24767dd..bc7f574 100644 --- a/notmyidea-cms-fr/templates/article.html +++ b/notmyidea-cms-fr/templates/article.html @@ -1,7 +1,7 @@ {% extends "base.html" %} -{% block title %}{{ article.title }}{% endblock %} -{% block content %} -
+{% block title %}{{ article.title|striptags }}{% endblock %} +{% block content %} +

{{ article.title @@ -16,7 +16,7 @@ Par {{ article.author }} {% endif %} -

Dans {{ article.category }}. +

Dans {{ article.category }}. {% include 'taglist.html' %} {{ article.content }} diff --git a/notmyidea-cms/templates/article.html b/notmyidea-cms/templates/article.html index 79ad679..6f50605 100644 --- a/notmyidea-cms/templates/article.html +++ b/notmyidea-cms/templates/article.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% block title %}{{ article.title }}{% endblock %} +{% block title %}{{ article.title|striptags }}{% endblock %} {% block content %}

-- cgit