Memmy-App / memmy

An Apollo inspired open-source iOS and Android client for Lemmy built with React-Native. Find us on the App Store and Google Play!
GNU Affero General Public License v3.0
547 stars 58 forks source link

[Bug] Expanded spoilers cutting text off after newline #1005

Open grouNDfx opened 1 year ago

grouNDfx commented 1 year ago

Check for open issues

Minimal reproducible example

Create a comment with a line break and a spoiler.

Expand the spoiler. Content after the line break is cut off.

Example: I made a post here with the following body text

::: spoiler Spoiler Heading
This part is visible.

This part is not visible
:::

Expected Behavior

Both lines within the spoiler tag should be visible when the spoiler is expanded. This effects both posts and comments

Version

0.6.1.1

App Store or TestFlight?

TestFlight

iOS Version

16.x

Device

iPhone 12 Pro

gkasdorf commented 10 months ago

Going to be reworking spoilers.