Code

Opened 5 years ago

Closed 5 years ago

#10177 closed (fixed)

Typo in example for linebreaks filter

Reported by: bmjames Owned by: timo
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 timo 5 years ago.

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by timo

comment:1 Changed 5 years ago by timo

  • Has patch set
  • Keywords typo added
  • Needs documentation unset
  • Needs tests unset
  • Owner changed from nobody to timo
  • Patch needs improvement unset
  • Status changed from new to assigned
  • Triage Stage changed from Unreviewed to Ready for checkin
  • Version changed from 1.0 to SVN

Confirmed + patch.

comment:2 Changed 5 years ago by adrian

  • Resolution set to fixed
  • Status changed from assigned to closed

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.