Commit 57e848d2 authored by Guido van Rossum's avatar Guido van Rossum

Output changed because of whitespace-before-repeat hack.

parent 8af87ff6
......@@ -15,9 +15,11 @@
<p z:repeat="car python:['honda', 'subaru', 'acura']">
honda
</p><p z:repeat="car python:['honda', 'subaru', 'acura']">
</p>
<p z:repeat="car python:['honda', 'subaru', 'acura']">
subaru
</p><p z:repeat="car python:['honda', 'subaru', 'acura']">
</p>
<p z:repeat="car python:['honda', 'subaru', 'acura']">
acura
</p>
......@@ -28,9 +30,11 @@
<ul>
<span z:repeat="car python:['honda', 'subaru', 'acura']">
<li z:insert="var:car">honda</li>
</span><span z:repeat="car python:['honda', 'subaru', 'acura']">
</span>
<span z:repeat="car python:['honda', 'subaru', 'acura']">
<li z:insert="var:car">subaru</li>
</span><span z:repeat="car python:['honda', 'subaru', 'acura']">
</span>
<span z:repeat="car python:['honda', 'subaru', 'acura']">
<li z:insert="var:car">acura</li>
</span>
</ul>
......
......@@ -4,7 +4,6 @@
<body xmlns:m="http://xml.zope.org/namespaces/metal" xmlns:z="http://xml.zope.org/namespaces/tal" m:define-macro="body" z:define="global count python:0">
<ul m:define-macro="whoops">
</ul>
<span z:define="global count python:2; global message str:hello world"/>
......@@ -13,7 +12,8 @@
<li z:repeat="item python:range(count)">
0
hello world
</li><li z:repeat="item python:range(count)">
</li>
<li z:repeat="item python:range(count)">
1
hello world
</li>
......@@ -25,7 +25,8 @@
<li z:repeat="item python:range(count)">
0
goodbye cruel world
</li><li z:repeat="item python:range(count)">
</li>
<li z:repeat="item python:range(count)">
1
goodbye cruel world
</li>
......
......@@ -15,9 +15,11 @@
<p z:repeat="car python:['honda', 'subaru', 'acura']">
honda
</p><p z:repeat="car python:['honda', 'subaru', 'acura']">
</p>
<p z:repeat="car python:['honda', 'subaru', 'acura']">
subaru
</p><p z:repeat="car python:['honda', 'subaru', 'acura']">
</p>
<p z:repeat="car python:['honda', 'subaru', 'acura']">
acura
</p>
......@@ -28,9 +30,11 @@
<ul>
<span z:repeat="car python:['honda', 'subaru', 'acura']">
<li z:insert="var:car">honda</li>
</span><span z:repeat="car python:['honda', 'subaru', 'acura']">
</span>
<span z:repeat="car python:['honda', 'subaru', 'acura']">
<li z:insert="var:car">subaru</li>
</span><span z:repeat="car python:['honda', 'subaru', 'acura']">
</span>
<span z:repeat="car python:['honda', 'subaru', 'acura']">
<li z:insert="var:car">acura</li>
</span>
</ul>
......
......@@ -4,7 +4,6 @@
<body xmlns:m="http://xml.zope.org/namespaces/metal" xmlns:z="http://xml.zope.org/namespaces/tal" m:define-macro="body" z:define="global count python:0">
<ul m:define-macro="whoops">
</ul>
<span z:define="global count python:2; global message str:hello world"/>
......@@ -13,7 +12,8 @@
<li z:repeat="item python:range(count)">
0
hello world
</li><li z:repeat="item python:range(count)">
</li>
<li z:repeat="item python:range(count)">
1
hello world
</li>
......@@ -25,7 +25,8 @@
<li z:repeat="item python:range(count)">
0
goodbye cruel world
</li><li z:repeat="item python:range(count)">
</li>
<li z:repeat="item python:range(count)">
1
goodbye cruel world
</li>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment