Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Post with *just* the right length gets truncated #1019

Closed
black-puppydog opened this issue May 3, 2019 · 4 comments
Closed

Post with *just* the right length gets truncated #1019

black-puppydog opened this issue May 3, 2019 · 4 comments

Comments

@black-puppydog
Copy link
Contributor

This post: %lJ9WIhzVnk0q5hXldrKD+8jVmeNHHExHIemO4PEmwMY=.sha256

screenie

The problem seems to be that the post renders to something that is just above the threshold for "show more" truncation. Seems like a corner case to me.

@christianbundy
Copy link
Contributor

Nice, thanks for finding this and reporting it!

@mmckegg
Copy link
Contributor

mmckegg commented May 11, 2019

You can probably fix this by adjusting the magic number here: https://github.com/ssbc/patchwork/blob/master/lib/expander-hook.js#L22

@black-puppydog
Copy link
Contributor Author

The example I gave back then doesn't truncate for me any longer. The code that Matt pointed at didn't change though. 🤔
Closing for now, feel free to re-open if it occurs again.

@black-puppydog
Copy link
Contributor Author

black-puppydog commented Feb 3, 2021

image

image

Seen in %jjWF0pcLpsrDB0Wrx7TlkRTSFITBQwnJuTLctnF+b8I=.sha256

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants