Skip to content
This repository
Browse code

Fixed the profile.py file and removed a useless newline call

--HG--
branch : trunk
  • Loading branch information...
commit 850629f1c329e1947a43735170fcf8fb35e08cce 1 parent b480418
Armin Ronacher authored

Showing 2 changed files with 1 addition and 3 deletions. Show diff stats Hide diff stats

  1. +1 1  examples/profile.py
  2. +0 2  jinja2/compiler.py
2  examples/profile.py
@@ -12,7 +12,7 @@
12 12
13 13 source = """\
14 14 % macro testmacro(x)
15   - <span>{{ x }}</span>
  15 + <span>${x}</span>
16 16 % endmacro
17 17 <!doctype html>
18 18 <html>
2  jinja2/compiler.py
@@ -1223,8 +1223,6 @@ def visit_Output(self, node, frame):
1223 1223 else:
1224 1224 finalize = unicode
1225 1225
1226   - self.newline(node)
1227   -
1228 1226 # if we are inside a frame that requires output checking, we do so
1229 1227 outdent_later = False
1230 1228 if frame.require_output_check:

0 comments on commit 850629f

Please sign in to comment.
Something went wrong with that request. Please try again.