WelcomeUser Guide
ToSPrivacyCanary
DonateBugsLicense

©2024 Poal.co

1.2K

Example: https://poal.co/s/technology/506733/e18d9a91-43cc-4eb1-aef8-4aeba532705f#cmnts

Notce the comment looks like a giant run-on sentance. Once expanded the bullet points render, showing it's not a big block of text but a list.

Example: https://poal.co/s/technology/506733/e18d9a91-43cc-4eb1-aef8-4aeba532705f#cmnts Notce the comment looks like a giant run-on sentance. Once expanded the bullet points render, showing it's not a big block of text but a list.

(post is archived)

[–] 1 pt

I know. That's how it's gonna be, at least atm. I haven't had time to work on the formatting. Will do in a few days.

Thanks for the report!

[–] 1 pt

Not sure how it works but you could always limit to a certain number of lines, retaining the formatting

comment = '...'
max_lines = 8
truncated = '\n'.join(comment.split('\n')[:max_lines])
[–] 0 pt

I'm using a different way.