Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

#11021 closed (fixed)

Document behavior of truncatewords filters re newlines

Reported by: Ben Spaulding Owned by: nobody
Component: Documentation Version: dev
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: no UI/UX: no

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 15 years ago.
Documentation of truncatewords behavior re newlines.

Download all attachments as: .zip

Change History (5)

by Ben Spaulding, 15 years ago

Attachment: truncate-doc.diff added

Documentation of truncatewords behavior re newlines.

comment:1 by Alex Gaynor, 15 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Tim Graham, 14 years ago

Triage Stage: AcceptedReady for checkin

comment:3 by Russell Keith-Magee, 14 years ago

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 by Russell Keith-Magee, 14 years ago

(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