Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

unknown sources are now shown correctly as <unknown source> (before i…

…t was shown as a tag)

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1447 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 53330a9274a395cd5397fa4a751299c55e4b1e4e 1 parent c83fa94
Georg Bauer authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/core/template/__init__.py
View
2  django/core/template/__init__.py
@@ -78,7 +78,7 @@
# what to report as the origin for templates that come from non-loader sources
# (e.g. strings)
-UNKNOWN_SOURCE="<unknown source>"
+UNKNOWN_SOURCE="&lt;unknown source&gt;"
# match a variable or block tag and capture the entire tag, including start/end delimiters
tag_re = re.compile('(%s.*?%s|%s.*?%s)' % (re.escape(BLOCK_TAG_START), re.escape(BLOCK_TAG_END),
Please sign in to comment.
Something went wrong with that request. Please try again.