#8885: HTML markup appearing in title of doc page
------------------------------------+---------------------------------------
Reporter: gkelly | Owner: nobody
Status: new | Milestone:
Component: Documentation | Version: 1.0
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Comment (by gkelly):
Please ignore patch, a better solution would be to use a template filter
to strip the HTML from the title, such as
{{{
Index: djangodocs/templates/docs/doc.html
===================================================================
--- djangodocs/templates/docs/doc.html (revision 8965)
+++ djangodocs/templates/docs/doc.html (working copy)
@@ -1,6 +1,6 @@
{% extends "base_docs.html" %}
-{% block title %}{{ doc.title }} | Django Documentation{% endblock %}
+{% block title %}{{ doc.title|striptags }} | Django Documentation{%
endblock %}
{% block extrahead %}
{{ block.super }}
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/8885#comment:2>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---