New lines are not sent to twitter
See original GitHub issueWhen putting new lines in a toot, Mastodon uses <p>
tags which are stripped when sending the tweet.
- https://mastodon.social/users/Alda/updates/1162829
- https://twitter.com/WebScrewdriver/status/829372857062940674
I think one solution is to replace </p><p>
with a new line before stripping the other html tags.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Twitter Support on Twitter: "Sending a Direct Message on http ...
Sending a Direct Message on https://twitter.com/ is fast and fluid. Press enter to send a message; shift + enter to start a new...
Read more >How to Type Return / Insert Line Breaks on TikTok, Twitter, or ...
Type in the text as you desire and when you're reading to insert a line break, tap on the “123” key at the...
Read more >How to press 'enter' but do not send the message when using ...
Hold down SHIFT when you hit Enter, and it will create a line break, rather than a hard Send.
Read more >Code 32 when adding line breaks (%0A) to statuses/update
Hi I'm having a problem when posting a tweet with line breaks inside. The response sends error code 32 : could not authenticate...
Read more >How do I get newlines in a tweet?
There is no convention for storing newlines in the API and as such there is no reliable way to make newlines appear in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yep, though I’d probably trigger on just
tags, no matter what is around them (more robust), anything you see that would speak against doing that?Fixed by #30