diff options
Diffstat (limited to 'src/zope/tal/tests/input/test11.html')
-rw-r--r-- | src/zope/tal/tests/input/test11.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/zope/tal/tests/input/test11.html b/src/zope/tal/tests/input/test11.html new file mode 100644 index 0000000..89f7563 --- /dev/null +++ b/src/zope/tal/tests/input/test11.html @@ -0,0 +1,19 @@ +<html xmlns:tal="http://xml.zope.org/namespaces/tal"> + <p tal:replace="structure string:<a>bar</a>" + tal:attributes="href string:http://www.python.org">dummy text</p> + <p tal:define="x python:1" tal:on-error="string:bad boy!"> + <span tal:define="x python:2"> + <span tal:define="x python:3"> + <span tal:content="python:1/0"/> + </span> + </span> + </p> + <p tal:on-error="string:x undefined"> + <span tal:content="x"/> + </p> + <tal:block on-error="string:x undefined" replace="x" /> + <tal:block on-error="string:x undefined"> + <p tal:content="x">p</p> + </tal:block> + <div tal:replace="structure string:<hr />">rule</div> +</html> |