# HG changeset patch # User cmlenz # Date 1188416161 0 # Node ID f725e48c9a5f011490ea84654ad03da49ef532a1 # Parent 6849142f9ba7ddcd9dee9db864421176e99739c7 Ported [728] to 0.4.x branch. diff --git a/doc/xml-templates.txt b/doc/xml-templates.txt --- a/doc/xml-templates.txt +++ b/doc/xml-templates.txt @@ -112,7 +112,7 @@ Given the data ``foo=True`` and ``bar='Hello'`` in the template context, this would produce: -.. code-block:: html +.. code-block:: xml
Hello @@ -153,7 +153,7 @@ This would produce the following output: -.. code-block:: html +.. code-block:: xml
1 @@ -172,7 +172,7 @@ This would produce the following output: -.. code-block:: html +.. code-block:: xml
1 @@ -197,7 +197,7 @@ Given ``items=[1, 2, 3]`` in the context data, this would produce: -.. code-block:: html +.. code-block:: xml
  • 1
  • 2
  • 3
  • @@ -239,7 +239,7 @@ The above would be rendered to: -.. code-block:: html +.. code-block:: xml

    @@ -264,7 +264,7 @@ The above would be rendered to: -.. code-block:: html +.. code-block:: xml

    @@ -307,7 +307,7 @@ This would result in the following output: -.. code-block:: html +.. code-block:: xml

    @@ -358,7 +358,7 @@ Given ``x=42`` in the context data, this would produce: -.. code-block:: html +.. code-block:: xml
    42 7 52 @@ -397,7 +397,7 @@ Given ``foo={'class': 'collapse'}`` in the template context, this would produce: -.. code-block:: html +.. code-block:: xml
    • Bar
    • @@ -406,7 +406,7 @@ Attributes with the value ``None`` are omitted, so given ``foo={'class': None}`` in the context for the same template this would produce: -.. code-block:: html +.. code-block:: xml
      • Bar
      • @@ -431,7 +431,7 @@ Given ``bar='Bye'`` in the context data, this would produce: -.. code-block:: html +.. code-block:: xml
        • Bye
        • @@ -456,7 +456,7 @@ Given ``bar='Bye'`` in the context data, this would produce: -.. code-block:: html +.. code-block:: xml
          Bye @@ -482,7 +482,7 @@ This would be rendered as: -.. code-block:: html +.. code-block:: xml
          foo