Opened 8 years ago

Closed 8 years ago

#10177 closed (fixed)

Typo in example for linebreaks filter

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

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 8 years ago.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by Tim Graham

comment:1 Changed 8 years ago by Tim Graham

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 Changed 8 years ago by Adrian Holovaty

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