Opened 3 years ago

Closed 3 years ago

#33255 closed Bug (invalid)

Closing </Body> tag inside textarea is being lowercased.

Reported by: Dmitry Silaev Owned by: nobody
Component: Template system Version: 3.2
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Dmitry Silaev)

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

Attachments (1)

body.png (16.9 KB ) - added by Dmitry Silaev 3 years ago.

Download all attachments as: .zip

Change History (3)

by Dmitry Silaev, 3 years ago

Attachment: body.png added

comment:1 by Dmitry Silaev, 3 years ago

Description: modified (diff)

comment:2 by Mariusz Felisiak, 3 years ago

Resolution: invalid
Status: newclosed
Summary: Closing </Body> tag inside textarea is being lowercasedClosing </Body> tag inside textarea is being lowercased.

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.

Note: See TracTickets for help on using tickets.
Back to Top