postiz-app icon indicating copy to clipboard operation
postiz-app copied to clipboard

[BUG] Posts with Special Characters Are Cut Off

Open MikeKMiller opened this issue 1 year ago • 3 comments

📜 Description

When a scheduled post contains certain special characters (such as 1) or --), the post gets cut off mid-content when published. The remainder of the post is not included in the final published output, leading to incomplete posts.

👟 Reproduction steps

How do you trigger this bug? Please walk us through it step by step.

  1. Schedule a post containing multiple special characters such as parentheses, dashes, or numbered lists.
  2. Publish the post.
  3. Review the published post to find it truncated after encountering certain special characters.

👍 Expected behavior

What did you think should happen?

The entire post, including all content and special characters, should be published as scheduled without truncation.

👎 Actual Behavior with Screenshots

What did actually happen? Add screenshots, if applicable.

The post is truncated after encountering certain special characters. Below is an example:

Scheduled Post:

Most entrepreneurs think scaling is about adding more.

But the truth? It’s about adding smarter.


When I was trying to scale, I kept piling on new services, more offers, and extra projects. I thought more was the answer. But here’s what I learned: adding more can kill your momentum.

Here’s how to scale smarter, not just bigger:

1) Optimize Before You Expand: Before you double down on growth, ensure your operations can handle it. Are your processes streamlined? Are your costs under control? A solid foundation is key.

2) Invest in Your Team: Scaling means more work. Make sure your team is ready for the challenge. Invest in training, resources, and most importantly, in your people.

3) Customer Experience is King: Never sacrifice quality for quantity. A great customer experience is what drives sustainable growth. Focus on delighting your existing customers—they’ll become your best marketers.

Scaling isn’t about adding more stuff; it’s about creating exponential growth with what you already have.

Your Move: What’s one thing you can optimize today to scale smarter?

--
♻️ Repost this if you know someone who needs to scale smarter, not just bigger.

Published Post:

Most entrepreneurs think scaling is about adding more.

But the truth? It’s about adding smarter.


When I was trying to scale, I kept piling on new services, more offers, and extra projects. I thought more was the answer. But here’s what I learned: adding more can kill your momentum.

Here’s how to scale smarter, not just bigger:

1

💻 Operating system

Linux

🤖 Node Version

Docker version

📃 Provide any additional context for the Bug.

Add any other context about the problem here.

It seems the truncation occurs specifically after encountering dashes (--), numbered lists (1)), or possibly other special characters that the system cannot process correctly. Found to occur on LinkedIn and Twitter/X.

👀 Have you spent some time to check if this bug has been raised before?

  • [X] I checked and didn't find similar issue

Are you willing to submit PR?

None

MikeKMiller avatar Nov 21 '24 21:11 MikeKMiller

Chiming in to say I've seen the same on LinkedIn! Thankfully caught it after the first post of 3 but it was a bit of a shock. • A bullet was what set it off for me seemingly

JasonRodriguez1474 avatar Nov 26 '24 17:11 JasonRodriguez1474

@MikeKMiller is it for all platforms?

nevo-david avatar Dec 02 '24 12:12 nevo-david

I only have LinkedIn and Twitter accounts to test with.

MikeKMiller avatar Dec 02 '24 13:12 MikeKMiller

@MikeKMiller fixed! Thank you for finding it! Deploying a new version.

nevo-david avatar Dec 04 '24 15:12 nevo-david