Simple example of template
{{{
<html>
<body>
<textarea>
<Html>
<Head></Head>
<Body></Body>
</Html>
</textarea>
</body>
</html>
}}}
Result is on the screenshot
[[Image (body.png)]]
--
Ticket URL: <https://code.djangoproject.com/ticket/33255>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* Attachment "body.png" added.
Old description:
> If there is an textarea with </Body> text inside it, it will be rendered
> as </body> instead.
>
> Simple example of template
> {{{
> <html>
> <body>
> <textarea>
> <Html>
> <Head></Head>
> <Body></Body>
> </Html>
> </textarea>
> </body>
> </html>
> }}}
> Result is on the screenshot
> [[Image (body.png)]]
New description:
If there is an textarea with </Body> text inside it, it will be rendered
as </body> instead.
Simple example of template
{{{
<html>
<body>
<textarea>
<Html>
<Head></Head>
<Body></Body>
</Html>
</textarea>
</body>
</html>
}}}
Result is on the screenshot
[[Image(body.png)]]
--
--
Ticket URL: <https://code.djangoproject.com/ticket/33255#comment:1>
* status: new => closed
* resolution: => invalid
Comment:
Thanks for this report, however I cannot reproduce this issue. Django
doesn't do anything specific with HTML inside the `<textarea>` so I don't
believe Django is at fault.
--
Ticket URL: <https://code.djangoproject.com/ticket/33255#comment:2>