Opened 8 years ago

Closed 6 years ago

Last modified 6 years ago

#11021 closed (fixed)

Document behavior of truncatewords filters re newlines

Reported by: Ben Spaulding 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 Ben Spaulding 8 years ago.
Documentation of truncatewords behavior re newlines.

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by Ben Spaulding

Attachment: truncate-doc.diff added

Documentation of truncatewords behavior re newlines.

comment:1 Changed 7 years ago by Alex Gaynor

Triage Stage: UnreviewedAccepted

comment:2 Changed 7 years ago by Tim Graham

Triage Stage: AcceptedReady for checkin

comment:3 Changed 6 years ago by Russell Keith-Magee

Resolution: fixed
Status: newclosed

(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 6 years ago by Russell Keith-Magee

(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.

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