Title: Excerpt format
Last modified: September 22, 2021

---

# Excerpt format

 *  Resolved [cihomewood](https://wordpress.org/support/users/cihomewood/)
 * (@cihomewood)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/excerpt-format/)
 * Hi
 * I am currently using the #_EXCERPT placeholder when displaying a list of events,
   but unlike #_NOTES it strips out all carriage returns, so the resultant text 
   is just a single block.
 * Is there any way to get #EXCERPT to leave in the carriage returns? I don’t want
   to use #_NOTES as the description is often too long for a summary list.
 * Thanks
 * Ian
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fexcerpt-format%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/excerpt-format/#post-14897534)
 * The next version of EME will by default do a nl2br (in a smart way) for all generated
   html output, so that should solve your problem. If you’d like, I can give you
   a link to the changeset too.
 *  Thread Starter [cihomewood](https://wordpress.org/support/users/cihomewood/)
 * (@cihomewood)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/excerpt-format/#post-14897665)
 * Perfect, thanks Franky. If the new version is out before the end of September
   I can wait.
 * Cheers
 * Ian
 *  Thread Starter [cihomewood](https://wordpress.org/support/users/cihomewood/)
 * (@cihomewood)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/excerpt-format/#post-14924649)
 * Hi Franky
 * Do you have a release date yet for the next version? If not, I would like to 
   accept your offer of a link for the changeset.
 * Thanks
 * Ian
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/excerpt-format/#post-14924983)
 * The version has been released already. Is it not working as expected? It might
   be that wordpress already removed the linebreaks first (before I pass over it
   with the nl2br function I created).
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/excerpt-format/#post-14925395)
 * Ok, I verified the code. The “problem” with the breaks disappearing is when you
   don’t use the more-tag to indicate the end of the excerpt:
    If there’s a more-
   tag, that gets used as excerpt. If there’s no more-tag, the first x characters
   get used (default 55) but I use the wordpress function wp_trim_words, that also
   replaces all returns by a space (and removes all html tags).
 * So, in short: if you want your excerpt to look the way you want it, you need 
   to use the more-tag.
 *  Thread Starter [cihomewood](https://wordpress.org/support/users/cihomewood/)
 * (@cihomewood)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/excerpt-format/#post-14926434)
 * Thanks Franky, that works. I’ll have to remember not to just use the automatic
   break.
 * Ian
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/excerpt-format/#post-14926496)
 * I added that info to the doc too.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Excerpt format’ is closed to new replies.

 * ![](https://ps.w.org/events-made-easy/assets/icon-256x256.png?rev=1856035)
 * [Events Made Easy](https://wordpress.org/plugins/events-made-easy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-made-easy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-made-easy/)
 * [Active Topics](https://wordpress.org/support/plugin/events-made-easy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-made-easy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-made-easy/reviews/)

## Tags

 * [carriage returns](https://wordpress.org/support/topic-tag/carriage-returns/)
 * [excerpt](https://wordpress.org/support/topic-tag/excerpt/)
 * [format](https://wordpress.org/support/topic-tag/format/)

 * 7 replies
 * 2 participants
 * Last reply from: [Franky](https://wordpress.org/support/users/liedekef/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/excerpt-format/#post-14926496)
 * Status: resolved