This commit removes all blank lines in the item preview description, so that we do not render a blank line as the last line. This was done to improve the style of the item previews, which looked ugly when the last line was a blank line.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/feeddeck/feeddeck/pull/86
**Author:** [@ricoberger](https://github.com/ricoberger)
**Created:** 11/29/2023
**Status:** ✅ Merged
**Merged:** 11/29/2023
**Merged by:** [@ricoberger](https://github.com/ricoberger)
**Base:** `main` ← **Head:** `core-remove-newlines-in-item-preview-description`
---
### 📝 Commits (1)
- [`7e42b9d`](https://github.com/feeddeck/feeddeck/commit/7e42b9ddc5efa28e580dd9fbe80e042bfbfbefaa) [core] Remove Blank in Item Preview Description
### 📊 Changes
**1 file changed** (+5 additions, -1 deletions)
<details>
<summary>View changed files</summary>
📝 `app/lib/widgets/item/preview/utils/item_description.dart` (+5 -1)
</details>
### 📄 Description
This commit removes all blank lines in the item preview description, so that we do not render a blank line as the last line. This was done to improve the style of the item previews, which looked ugly when the last line was a blank line.
<!--
Keep PR title verbose enough and add prefix telling about what source it touches e.g "[rss] Add feature xyz" or if the
the PR is not realated to a source use "[core]", e.g. "[core] Fix xyz".
If you add a breaking change within your PR you should add ":warning:" to the title,
e.g. ":warning: [core] My breaking change"
-->
<!--
Description of what have been changed. Please also reference an issue, when available.
-->
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/feeddeck/feeddeck/pull/86
Author: @ricoberger
Created: 11/29/2023
Status: ✅ Merged
Merged: 11/29/2023
Merged by: @ricoberger
Base:
main← Head:core-remove-newlines-in-item-preview-description📝 Commits (1)
7e42b9d[core] Remove Blank in Item Preview Description📊 Changes
1 file changed (+5 additions, -1 deletions)
View changed files
📝
app/lib/widgets/item/preview/utils/item_description.dart(+5 -1)📄 Description
This commit removes all blank lines in the item preview description, so that we do not render a blank line as the last line. This was done to improve the style of the item previews, which looked ugly when the last line was a blank line.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.