Opened 14 years ago
Closed 14 years ago
#21702 closed defect (bug) (fixed)
RSS Widget adds [...] even if the entire content is shown
| Reported by: | MadtownLems | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.6 |
| Component: | Widgets | Version: | 2.5 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description (last modified by )
When the option to display item content is checked, the core RSS widget adds [...] regardless of if any trimming was actually done or not.
I believe [...] should only show up if something is cut off, and should not show when the entire excerpt is shown (due to its short length).
This seems related to #11244 which was marked as fixed.
Attachments (2)
Change History (11)
Note:
See TracTickets
for help on using tickets.
Patch checks length of string using mb_strlen. Only adds [...] if the length is > 355.