Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(HtmlParser): remove trailing line breaks
Some fediverse servers (e.g. lemmy) add a trailing line break to the content. Since we add them as well, this can cause up to three line breaks at the end of a post, resulting in a blank space. This removes the trailing line breaks before parsing the content.
- Loading branch information