Code

Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#11021 closed (fixed)

Document behavior of truncatewords filters re newlines

Reported by: benspaulding Owned by: nobody
Component: Documentation Version: master
Severity: Keywords: truncatewords, truncatewords_html
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

A lot of people have complained or created tickets about how the truncatewords filter removes newlines. However, no one has ever bothered to document that behavior (to my knowledge).

Here it is.

Attachments (1)

truncate-doc.diff (2.3 KB) - added by benspaulding 5 years ago.
Documentation of truncatewords behavior re newlines.

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by benspaulding

Documentation of truncatewords behavior re newlines.

comment:1 Changed 5 years ago by Alex

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 4 years ago by timo

  • Triage Stage changed from Accepted to Ready for checkin

comment:3 Changed 4 years ago by russellm

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

(In [13555]) Fixed #11021 -- Clarified newline stripping behavior in the truncatewords and truncatewords_html filters. Thanks to Ben Spaulding for the report and patch.

comment:4 Changed 4 years ago by russellm

(In [13562]) [1.2.X] Fixed #11021 -- Clarified newline stripping behavior in the truncatewords and truncatewords_html filters. Thanks to Ben Spaulding for the report and patch.

Backport of r13555 from trunk.

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.