Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #53709


Ignore:
Timestamp:
07/25/2021 02:32:39 AM (3 years ago)
Author:
sabernhardt
Comment:

The wp_trim_words function in the RSS block and the classic widget strips all tags before creating the excerpt.

To replace br tags with spaces, would it be good to address that in both RSS-related files or within the wp_trim_words function itself?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #53709

    • Property Keywords reporter-feedback removed
    • Property Component changed from Editor to Formatting
    • Property Type changed from feature request to enhancement
  • Ticket #53709 – Description

    initial v1  
    1 **Problem:** if I use RSS block and want to show text exceprts, all <br> elements missing. It loos not very good, like missing spaces after some sentences. Look at the image, I higlighted palces where is <br> in original RSS feed.
     1**Problem:** if I use RSS block and want to show text excerpts, all <br> elements missing. It looks not very good, like missing spaces after some sentences. Look at the image, I highlighted places where is <br> in original RSS feed.
    22
    33[[Image(https://i.imgur.com/P6MsiL6.jpg)]]