# Topic List Latest-Post Excerpt

**URL:** <https://meta.discourse.org/t/topic-list-latest-post-excerpt/306749>\
**Category:** Theme component\
**Created:** [May 4, 2024, 6:18pm UTC](https://meta.discourse.org/t/topic-list-latest-post-excerpt/306749 "2024-05-04T18:18:37Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![dsims](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dsims/32/485916_2.png) [@dsims](https://meta.discourse.org/u/dsims)\
**Post date:** [June 12, 2024, 1:38pm UTC](https://meta.discourse.org/t/topic-list-latest-post-excerpt/306749/11 "2024-06-12T13:38:20Z")

</div>

Looks like a problem with [this topic](https://forumjogos.com.br/t/bailao-otaku/398), where part of a url results in an excerpt with a long unbroken line:  
`ref_src=twsrc^tfw|twcamp^tweetembed|twterm^1793429561969193338|twgr^|twcon^s1_&ref_url=`

Discourse is not removing the url from the excerpt and there is no max-width on the column so the `word-wrap: break-word;` doesn’t apply.

You might be able to fix this by adding this CSS which seems to force the long line to break even without a max-width:

```plaintext
.topic-list .topic-excerpt span {
    overflow-wrap: anywhere;
}

```

(My theme component also has a `single line` setting which would avoid this issue)

---

_[View the full topic](https://meta.discourse.org/t/topic-list-latest-post-excerpt/306749)._
