diff --git a/django/template/__init__.py b/django/template/__init__.py
index 2992036..30a75fc 100644
|
a
|
b
|
class VariableNode(Node):
|
| 794 | 794 | return "<Variable Node: %s>" % self.filter_expression |
| 795 | 795 | |
| 796 | 796 | def render(self, context): |
| 797 | | output = force_unicode(self.filter_expression.resolve(context)) |
| | 797 | output = self.filter_expression.resolve(context) |
| 798 | 798 | if (context.autoescape and not isinstance(output, SafeData)) or isinstance(output, EscapeData): |
| 799 | 799 | return escape(output) |
| 800 | 800 | else: |
| … |
… |
class VariableNode(Node):
|
| 803 | 803 | class DebugVariableNode(VariableNode): |
| 804 | 804 | def render(self, context): |
| 805 | 805 | try: |
| 806 | | output = force_unicode(self.filter_expression.resolve(context)) |
| | 806 | output = self.filter_expression.resolve(context) |
| 807 | 807 | except TemplateSyntaxError, e: |
| 808 | 808 | if not hasattr(e, 'source'): |
| 809 | 809 | e.source = self.source |