# מדוע קטעים כוללים חלק מתגי HTML, אך לא אחרים?

**URL:** https://meta.discourse.org/t/why-do-excerpts-include-some-html-tags-but-not-others/224042
**Category:** Support
**Created:** [12 באפריל,‏ 2022,‏ 1:27pm UTC](https://meta.discourse.org/t/why-do-excerpts-include-some-html-tags-but-not-others/224042 "2022-04-12T13:27:15Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [12 באפריל,‏ 2022,‏ 1:59pm UTC](https://meta.discourse.org/t/why-do-excerpts-include-some-html-tags-but-not-others/224042/2 "2022-04-12T13:59:30Z")

</div>

Hi @md-misko - I’ve moved this into its own #Support topic since the [topic-list-excerpts theme component](https://meta.discourse.org/t/topic-list-excerpts-theme-component/151520) relies on Discourse core’s excerpt generator. I’m not sure of the history behind why `<details>` is included, but maybe someone else will jump in.

---

_[View the full topic](https://meta.discourse.org/t/why-do-excerpts-include-some-html-tags-but-not-others/224042)._
