Opened 16 years ago

Closed 16 years ago

#10177 closed (fixed)

Typo in example for linebreaks filter

Reported by: bmjames Owned by: Tim Graham
Component: Documentation Version: dev
Severity: Keywords: typo
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In the Built-in template tags and filters docs:

"If value is Joel\nis a slug, the output will be <p>Joel<br>is a slug</p>."

In the example above, the <br> should be an XHTML <br /> since this is what Django actually outputs.

Attachments (1)

builtins-linebreaks-br-fix.diff (465 bytes ) - added by Tim Graham 16 years ago.

Download all attachments as: .zip

Change History (3)

by Tim Graham, 16 years ago

comment:1 by Tim Graham, 16 years ago

Has patch: set
Keywords: typo added
Owner: changed from nobody to Tim Graham
Status: newassigned
Triage Stage: UnreviewedReady for checkin
Version: 1.0SVN

Confirmed + patch.

comment:2 by Adrian Holovaty, 16 years ago

Resolution: fixed
Status: assignedclosed

(In [9852]) Fixed #10177 -- Fixed typo in docs/ref/templates/builtins.txt. Thanks, bmjames

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