unescaped html in doc/web/howto/web-in-60/handling-posts.xhtml

[email protected] Mon, 01 Mar 2010 22:58:13 -0000
Newsgroups gmane.comp.python.twisted.bugs
Message-ID <[email protected]>
New submission from khorn <[email protected]>:

in doc/web/howto/web-in-60/handling-posts.xhtml there is some markup like:

{{{
<pre class="python">
class FormPage(Resource):
    def render_GET(self, request):
        return '<html><body><form method="POST"><input name="the-field" type="text" /></form></body></html>'
</pre>
}}}

In the rest of this documentation, the html tags inside the <pre> tags is escaped, like this:

{{{
<pre class="python">
class FormPage(Resource):
    def render_GET(self, request):
        return '&lt;html&gt;&lt;body&gt;&lt;form method="POST"&gt;&lt;input name="the-field" type="text" /&gt;&lt;/form&gt;&lt;/body&gt;&lt;/html&gt;'
</pre>
}}}

This page should be fixed to match.

----------
Type     : enhancement
Component: core
Keywords : documentation
Priority : normal
Nosy     : khorn, jesstess
----------
http://twistedmatrix.com/trac/ticket/4336