# כותרות HTML עם שורות שבורות -\> ללא כותרת וחוסר עקביות בין תצוגה מקדימה לפוסט מעובד

**URL:** https://meta.discourse.org/t/html-headings-with-line-breaks-no-heading-and-inconsistency-between-preview-and-rendered-post/261043
**Category:** Bug
**Created:** [8 באפריל,‏ 2023,‏ 4:05pm UTC](https://meta.discourse.org/t/html-headings-with-line-breaks-no-heading-and-inconsistency-between-preview-and-rendered-post/261043 "2023-04-08T16:05:44Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [9 במאי,‏ 2023,‏ 12:02am UTC](https://meta.discourse.org/t/html-headings-with-line-breaks-no-heading-and-inconsistency-between-preview-and-rendered-post/261043/7 "2023-05-09T00:02:51Z")

</div>

Oh this is very related to:

> [@Markdown preview and result differ](https://meta.discourse.org/t/markdown-preview-and-result-differ/263878/4):
>
> Took a quick look out of curiosity. It looks like an issue with the Nokogiri library. thinking From what uses Discourse here: Loofah.fragment uses Nokogiri’s HTML4 parser. This could be fixed using Loofah.html5\_fragment as long as Nokogiri \>= 1.14.0 and Loofah \>= 2.21.0. Discourse already uses Nokogiri::HTML5.fragment; that would make sense. Note: Loofah [2.21.0](https://github.com/flavorjones/loofah) is not yet released; currently in RC1.

I am OK to wait a few more weeks for Loofah to release

Will shoot out a Tweet to Mike to mention this popped up.

---

_[View the full topic](https://meta.discourse.org/t/html-headings-with-line-breaks-no-heading-and-inconsistency-between-preview-and-rendered-post/261043)._
