Discuss Scratch
- Yeetoburro1
-
1000+ posts
Slight tweak to comments
Support! If I am writing some python for someone in a comment, I can't because of the line thingy.
- LankyBox01
-
1000+ posts
Slight tweak to comments
“Report” exists. bump
I personally don't see why a short comment needs line breaks, and someone could make a 500-line comment and make the page very long.
- fdreerf
-
1000+ posts
Slight tweak to comments
That just creates more work for the moderators.“Report” exists. bump
I personally don't see why a short comment needs line breaks, and someone could make a 500-line comment and make the page very long.
- RedGuy7
-
1000+ posts
Slight tweak to comments
did you read the op?That just creates more work for the moderators.“Report” exists. bump
I personally don't see why a short comment needs line breaks, and someone could make a 500-line comment and make the page very long.
However, this could allow for spam:this is……………………
huge amount of newlines
………….awesome!
A limit could be added:$commentbody = implode("<br />", explode("\n", $commentbody, 15));
commentbody = commentbody.replace("\n", "<br />", 15)
Well, it's just a suggestion, so yeah
- fdreerf
-
1000+ posts
Slight tweak to comments
Would that prevent this:did you read the op?That just creates more work for the moderators.“Report” exists. bump
I personally don't see why a short comment needs line breaks, and someone could make a 500-line comment and make the page very long.
.?
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- wvj
-
1000+ posts
Slight tweak to comments
support, it's easier to read long comments if you use line breaks
also bump
also bump
- Quantum-Cat
-
1000+ posts
Slight tweak to comments
Line breaks can be useful in de-cluttering large blocks of text. For spam problems, I saw multiple suggestions:
- Limit the amount of line breaks entered at once, but this, however, doesn't prevent a spammer from doing this:
.
.
…and so on - Limit the total amount of line breaks in a comment, which solves the previous problem, but doesn't prevent this:
a
lots of new lines, but still below the total limit
b - Only make new lines depending on the length of the content:
Make newlines count for several characters. Perhaps, say, 50 characters. This allows in a no-content message up to 10 newlines, but obviously there must be content for a newline to render. As such, only 8 newlines would likely ever render in a message. That's fairly manageable.
(source) - Add scrollbars for long comments, or read more:
Yeah, if a comment has too many new lines, there should be a scroll bar to prevent a single comment from using all 500 new lines.
(source)
To avoid users spamming with empty newlines a “read more” button that automatically appears for longer comments would be a good idea
(#16) - Or multiple of them
- AnAccount_StopAsking
-
500+ posts
Slight tweak to comments
Agreed, just look at one of those random guides for your favorite Scratch game. If only there were different lines there, it would look far better than a giant wall of text that's painful to read. Though, I do think you should just hit enter instead of having to code a bunch of random stuff.
Last edited by AnAccount_StopAsking (June 20, 2022 18:31:36)
- YtArie5
-
1000+ posts
Slight tweak to comments
to anyone saying it can be a really long comment they can just compact it like a signature
- Miraheze
-
100+ posts
Slight tweak to comments
10 years later and Scratch Team didn't approve this suggestion
- blablablahello
-
1000+ posts
Slight tweak to comments
wouldn't it be better if a newline just counted as like 70 or so characters (however long each new line would be if it was full of characters)