This commit fixes the conversion of HTML to plain text in the description for an item. Until now it could happen, that the there was no whitespace between some words after the conversion. This is now fixed so that there is always a whitespace between words in the plain text.
🔄 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/96
**Author:** [@ricoberger](https://github.com/ricoberger)
**Created:** 12/2/2023
**Status:** ✅ Merged
**Merged:** 12/2/2023
**Merged by:** [@ricoberger](https://github.com/ricoberger)
**Base:** `main` ← **Head:** `core-fix-converting-of-html-to-plain-text`
---
### 📝 Commits (1)
- [`1568c2a`](https://github.com/feeddeck/feeddeck/commit/1568c2a30d61ec7bf645012ab4adc6ca6136c016) [core] Fix Converting of HTML to Plain Text in Description
### 📊 Changes
**2 files changed** (+6 additions, -2 deletions)
<details>
<summary>View changed files</summary>
📝 `app/lib/widgets/item/details/utils/item_description.dart` (+3 -1)
📝 `app/lib/widgets/item/preview/utils/item_description.dart` (+3 -1)
</details>
### 📄 Description
This commit fixes the conversion of HTML to plain text in the description for an item. Until now it could happen, that the there was no whitespace between some words after the conversion. This is now fixed so that there is always a whitespace between words in the plain text.
<!--
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/96
Author: @ricoberger
Created: 12/2/2023
Status: ✅ Merged
Merged: 12/2/2023
Merged by: @ricoberger
Base:
main← Head:core-fix-converting-of-html-to-plain-text📝 Commits (1)
1568c2a[core] Fix Converting of HTML to Plain Text in Description📊 Changes
2 files changed (+6 additions, -2 deletions)
View changed files
📝
app/lib/widgets/item/details/utils/item_description.dart(+3 -1)📝
app/lib/widgets/item/preview/utils/item_description.dart(+3 -1)📄 Description
This commit fixes the conversion of HTML to plain text in the description for an item. Until now it could happen, that the there was no whitespace between some words after the conversion. This is now fixed so that there is always a whitespace between words in the plain text.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.