Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2018-05-01 23:52:15

XxAtillaxX
Member
Joined: 2015-11-28
Posts: 4,202

allow signs to begin with spaces

both "                test" and "         test                "
turns into "test"

fix pls


signature.png
*u stinky*

Offline

#2 2018-05-02 00:48:15

John
Member
Joined: 2019-01-11
Posts: 1,972

Re: allow signs to begin with spaces

why

there is \n for newlines


PW?scale=2

Offline

Wooted by:

#3 2018-05-02 01:08:54, last edited by AlphaJon (2018-05-02 01:09:13)

AlphaJon
Member
From: Who knows
Joined: 2015-07-21
Posts: 1,297

Re: allow signs to begin with spaces

John wrote:

why

there is \n for newlines

Spaces could be used to position text in a particular way, like for example to simulate text centering

Offline

#4 2018-05-02 01:28:05

Latif
Member
From: The Netherlands
Joined: 2015-03-13
Posts: 1,206

Re: allow signs to begin with spaces

AlphaJon wrote:
John wrote:

why

there is \n for newlines

Spaces could be used to position text in a particular way, like for example to simulate text centering

Sign text is already centered.

Offline

Wooted by: (3)

#5 2018-05-02 16:05:34

XxAtillaxX
Member
Joined: 2015-11-28
Posts: 4,202

Re: allow signs to begin with spaces

John wrote:

why

there is \n for newlines

because it's retarded and doesn't preserve the spacing people want

"       abc              321       123        "
turns into "abc 321 123"


signature.png
*u stinky*

Offline

#6 2018-05-02 17:43:07

mrjawapa
Corn Man 🌽
From: Ohio, USA
Joined: 2015-02-15
Posts: 5,840
Website

Re: allow signs to begin with spaces

Wouldn't that be a database issue?

Iirc it removes excess white space


Discord: jawp#5123

Offline

#7 2018-05-02 18:04:12

XxAtillaxX
Member
Joined: 2015-11-28
Posts: 4,202

Re: allow signs to begin with spaces

mrjawapa wrote:

Wouldn't that be a database issue?

Iirc it removes excess white space

I just tried it and nope, it appears like BigDB preserves the spaces.
I'm pretty sure they just re-use the server-side function that cleans chat messages (i.e. unicode and swear words) for signs.


signature.png
*u stinky*

Offline

Wooted by:

#8 2018-05-03 02:37:23

SirJosh3917
Formerly ninjasupeatsninja
From: USA
Joined: 2015-04-05
Posts: 2,095

Re: allow signs to begin with spaces

XxAtillaxX wrote:

I'm pretty sure they just re-use the server-side function that cleans chat messages (i.e. unicode and swear words) for signs.

can confirm
I checked before

Offline

SirJosh39171525311443704953

Board footer

Powered by FluxBB

[ Started around 1711704295.7524 - Generated in 0.041 seconds, 12 queries executed - Memory usage: 1.5 MiB (Peak: 1.63 MiB) ]