Module Import alias Import alias ImportFrom alias alias alias ImportFrom alias Expr Call NameLoad Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body TryExcept body Import alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Assign NameStore Str Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Str orelse Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Import alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Assign NameStore Str Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Import alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Assign NameStore Str Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad attr If NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Str orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A re N/A unittest django.template Template Context add_to_builtins django.utils.html escape N/A N/A add_to_builtins django.contrib.markup.templatetags.markup Templates N/A N/A unittest TestCase N/A test_textile N/A N/A self N/A N/A N/A N/A N/A textile N/A N/A N/A ImportError N/A N/A textile None N/A textile_content Paragraph 1

Paragraph 2 with "quotes" and @code@ N/A t N/A Template {{ textile_content|textile }} N/A rendered N/A N/A N/A N/A t render N/A Context N/A locals strip N/A textile N/A N/A N/A N/A self assertEqual N/A N/A rendered replace <p>Paragraph 1</p>

<p>Paragraph 2 with &#8220;quotes&#8221; and <code>code</code></p> N/A N/A N/A N/A self assertEqual rendered N/A escape textile_content N/A test_markdown N/A N/A self N/A N/A N/A N/A N/A markdown N/A N/A N/A ImportError N/A N/A markdown None N/A markdown_content Paragraph 1

## An h2 N/A t N/A Template {{ markdown_content|markdown }} N/A rendered N/A N/A N/A N/A t render N/A Context N/A locals strip N/A markdown N/A N/A pattern N/A N/A re compile <p>Paragraph 1\s*</p>\s*<h2>\s*An h2</h2> N/A N/A N/A self assert_ N/A N/A pattern match rendered N/A N/A N/A N/A self assertEqual rendered markdown_content N/A test_docutils N/A N/A self N/A N/A N/A N/A N/A docutils N/A N/A N/A ImportError N/A N/A docutils None N/A rest_content Paragraph 1

Paragraph 2 with a link_

.. _link: http://www.example.com/ N/A t N/A Template {{ rest_content|restructuredtext }} N/A rendered N/A N/A N/A N/A t render N/A Context N/A locals strip N/A docutils N/A N/A N/A N/A N/A N/A self assertEqual rendered <p>Paragraph 1</p>
<p>Paragraph 2 with a <a class="reference" href="http://www.example.com/">link</a></p> N/A N/A N/A AssertionError N/A e N/A N/A N/A N/A self assertEqual rendered <p>Paragraph 1</p>
<p>Paragraph 2 with a <a class="reference external" href="http://www.example.com/">link</a></p> N/A N/A N/A N/A self assertEqual rendered rest_content N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main