# Post preview broken

**URL:** <https://forum.mattermost.com/t/post-preview-broken/21089>\
**Category:** Potential Broken Windows\
**Created:** [October 29, 2024, 11:40pm UTC](https://forum.mattermost.com/t/post-preview-broken/21089 "2024-10-29T23:40:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![it33\_mattermost](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/it33_mattermost/32/6971_2.png) [@it33\_mattermost](https://forum.mattermost.com/u/it33_mattermost)\
**Post date:** [October 29, 2024, 11:40pm UTC](https://forum.mattermost.com/t/post-preview-broken/21089/1 "2024-10-29T23:40:21Z")

</div>

Expected:

- Post preview looks like post rendering

Observed:

- Post preview has vertical alignment distorted compared to than post rendering

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/6/678e1a2f637e8b10be73b6ba4ac217e6b4fd162e.png)

---

<div class="post-metadata">

**Author:** ![it33\_mattermost](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/it33_mattermost/32/6971_2.png) [@it33\_mattermost](https://forum.mattermost.com/u/it33_mattermost)\
**Post date:** [November 5, 2024, 12:54pm UTC](https://forum.mattermost.com/t/post-preview-broken/21089/2 "2024-11-05T12:54:49Z")

</div>

@jwilander @marianunez @hmhealey @streamer45 wondering if this is a known issue, or maybe something that’s very difficult to fix?

Posted a week ago.

Seems embarrassing to me. Post preview has one job, and it’s not doing its job.

---

<div class="post-metadata">

**Author:** ![it33\_mattermost](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/it33_mattermost/32/6971_2.png) [@it33\_mattermost](https://forum.mattermost.com/u/it33_mattermost)\
**Post date:** [November 5, 2024, 12:56pm UTC](https://forum.mattermost.com/t/post-preview-broken/21089/3 "2024-11-05T12:56:23Z")

</div>

Adding @asaad in case this is just a HTML/CSS/whatever they call it these days thing

---

<div class="post-metadata">

**Author:** ![asaad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/asaad/32/1300_2.png) [@asaad](https://forum.mattermost.com/u/asaad)\
**Post date:** [November 5, 2024, 4:16pm UTC](https://forum.mattermost.com/t/post-preview-broken/21089/4 "2024-11-05T16:16:13Z")

</div>

@it33_mattermost there’s a ticket on this yes:  
[https://mattermost.atlassian.net/browse/MM-57079](https://mattermost.atlassian.net/browse/MM-57079)

It shouldn’t be difficult, its just that priorities are different, but I can definitely have a look at it.

---

<div class="post-metadata">

**Author:** ![asaad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/asaad/32/1300_2.png) [@asaad](https://forum.mattermost.com/u/asaad)\
**Post date:** [November 5, 2024, 4:38pm UTC](https://forum.mattermost.com/t/post-preview-broken/21089/5 "2024-11-05T16:38:51Z")

</div>

@it33_mattermost PR created to fix:

> <https://github.com/mattermost/mattermost/pull/29137>
>
> \#### Summary
> MM-57079 - Fixing extra spacing in blockquote
> 
> \#### Ticket Link
> …
> https://mattermost.atlassian.net/browse/MM-57079
> 
> \#### Screenshots
> !\[CleanShot 2024-11-05 at 21 36 28@2x\](https://github.com/user-attachments/assets/45f709e4-7ab7-4a99-a992-3bbe005e32f3)
> 
> \#### Release Note
> \<!--
> Add a release note for each of the following conditions:
> 
> \* Config changes (additions, deletions, updates).
> \* API additions—new endpoint, new response fields, or newly accepted request parameters.
> \* Database changes (any).
> \* Schema migration changes. Use the \[Schema Migration Template\](https://docs.google.com/document/d/18lD7N32oyMtYjFrJKwsNv8yn6Fe5QtF-eMm8nn0O8tk/edit?usp=sharing) as a starting point to capture these details as release notes. 
> \* Websocket additions or changes.
> \* Anything noteworthy to a Mattermost instance administrator (err on the side of over-communicating).
> \* New features and improvements, including behavioral changes, UI changes, and CLI changes.
> \* Bug fixes and fixes of previous known issues.
> \* Deprecation warnings, breaking changes, or compatibility notes.
> 
> If no release notes are required, write NONE. Use past-tense. Newlines are stripped.
> 
> Examples:
> 
> \`\`\`
> Added new API endpoints POST /api/v4/foo, GET api/v4/foo, and GET api/v4/foo/:foo\_id.
> \`\`\`
> 
> \`\`\`
> Added a new config setting ServiceSettings.FooBar. Added a new column Foo to the Users table.
> \`\`\`
> 
> \`\`\`release-note
> NONE
> \`\`\`
> \--\>
> \`\`\`release-note
> NONE
> \`\`\`

---

<div class="post-metadata">

**Author:** ![it33\_mattermost](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/it33_mattermost/32/6971_2.png) [@it33\_mattermost](https://forum.mattermost.com/u/it33_mattermost)\
**Post date:** [November 6, 2024, 8:17pm UTC](https://forum.mattermost.com/t/post-preview-broken/21089/6 "2024-11-06T20:17:38Z")

</div>

@lindy would you know who would be the tester to confirm this is fixed after it’s fixed?

Thanks so much @asaad! 🙏🙏🙏

---

<div class="post-metadata">

**Author:** ![lindy65](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/lindy65/32/1811_2.png) [@lindy65](https://forum.mattermost.com/u/lindy65)\
**Post date:** [November 8, 2024, 4:14pm UTC](https://forum.mattermost.com/t/post-preview-broken/21089/7 "2024-11-08T16:14:34Z")

</div>

That would be me @it33_mattermost - testing the PR now
