# HG changeset patch # User cmlenz # Date 1188416044 0 # Node ID 09de73cae3d592bbb0aba9ae0441fae9cd480e01 # Parent 16b1be35c2654b09c8a7cda994fde543d50a46ea Using `html` code-blocks for examples isn't so nice when viewing the docs over Trac, so change them to `xml`. 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

    @@ -395,7 +395,7 @@ Given ``x=42`` in the context data, this would produce: -.. code-block:: html +.. code-block:: xml
    42 7 52 @@ -434,7 +434,7 @@ Given ``foo={'class': 'collapse'}`` in the template context, this would produce: -.. code-block:: html +.. code-block:: xml
    • Bar
    • @@ -443,7 +443,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
      • @@ -468,7 +468,7 @@ Given ``bar='Bye'`` in the context data, this would produce: -.. code-block:: html +.. code-block:: xml
        • Bye
        • @@ -493,7 +493,7 @@ Given ``bar='Bye'`` in the context data, this would produce: -.. code-block:: html +.. code-block:: xml
          Bye @@ -519,7 +519,7 @@ This would be rendered as: -.. code-block:: html +.. code-block:: xml
          foo