Bitcoin Forum
October 05, 2024, 03:56:31 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Space added by forum where no space put there by poster  (Read 631 times)
TheButterZone (OP)
Legendary
*
Offline Offline

Activity: 3038
Merit: 1032


RIP Mommy


View Profile WWW
September 23, 2013, 10:05:46 PM
Last edit: September 24, 2013, 12:49:27 AM by TheButterZone
 #1

Quote
Signature: HOxlhwW83HZCEMw2DBGiqyf0dJFTgCtjvwpypPndsIzScc5RhD5xOC1PXaSveZIiL5pKG7bH3kZ47gW ycbj0QUE=

Note the space inbetween the W and the y towards the end, especially apparent when you copy and paste that text. I didn't put the space there, and it doesn't show a space while editing.

Space error first appeared (for me) here: https://bitcointalk.org/index.php?topic=300414.msg3220444#msg3220444

ETA:
Quote
Signature: HOxlhwW83HZCEMw2DBGiqyf0dJFTgCtjvwpypPndsIzScc5RhD5xOC1PXaSveZIiL5pKG7bH3kZ47gW ycbj0QUE=
works when changed to
Code:
Signature: HOxlhwW83HZCEMw2DBGiqyf0dJFTgCtjvwpypPndsIzScc5RhD5xOC1PXaSveZIiL5pKG7bH3kZ47gWycbj0QUE=

Saying that you don't trust someone because of their behavior is completely valid.
Vod
Legendary
*
Offline Offline

Activity: 3850
Merit: 3137


Licking my boob since 1970


View Profile WWW
September 23, 2013, 11:18:56 PM
 #2

Quote
Signature: HOxlhwW83HZCEMw2DBGiqyf0dJFTgCtjvwpypPndsIzScc5RhD5xOC1PXaSveZIiL5pKG7bH3kZ47gW ycbj0QUE=

Note the space inbetween the W and the y towards the end, especially apparent when you copy and paste that text. I didn't put the space there, and it doesn't show a space while editing.

Space error first appeared (for me) here: https://bitcointalk.org/index.php?topic=300414.msg3220444#msg3220444

That's very odd - it doesn't even show in the source html.

What browser are you using?  Chrome?

Never mind, it shows up in IE as well.  I thought it might be browser specific post html processing of some sort.

I post for interest - not signature spam.
https://vod.fan - fast/free image sharing - coming Oct!
Will Theymos finish his $100,000,000 forum before this one shuts down?
TheButterZone (OP)
Legendary
*
Offline Offline

Activity: 3038
Merit: 1032


RIP Mommy


View Profile WWW
September 23, 2013, 11:24:36 PM
 #3

FF v24

Saying that you don't trust someone because of their behavior is completely valid.
tysat
Legendary
*
Offline Offline

Activity: 966
Merit: 1004


Keep it real


View Profile
September 23, 2013, 11:49:18 PM
 #4

It doesn't show a space in Chrome, got a screenshot of it showing in another browser?
Vod
Legendary
*
Offline Offline

Activity: 3850
Merit: 3137


Licking my boob since 1970


View Profile WWW
September 23, 2013, 11:52:56 PM
 #5

It doesn't show a space in Chrome, got a screenshot of it showing in another browser?

Copy and paste it into Notepad (if you use windows)

I post for interest - not signature spam.
https://vod.fan - fast/free image sharing - coming Oct!
Will Theymos finish his $100,000,000 forum before this one shuts down?
TheButterZone (OP)
Legendary
*
Offline Offline

Activity: 3038
Merit: 1032


RIP Mommy


View Profile WWW
September 23, 2013, 11:58:17 PM
 #6

It doesn't show a space in Chrome, got a screenshot of it showing in another browser?

Copy and paste it into Notepad (if you use windows)

Or double-click the text. That should select the entire block, but it stops highlighting at the W. I can take a screenshot, but the space is barely perceptible even at max zoom (just before it line-breaks it).

Saying that you don't trust someone because of their behavior is completely valid.
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5348
Merit: 13316


View Profile
September 24, 2013, 12:23:42 AM
 #7

Very long unbroken words have spaces inserted into them so that they don't make your post too wide. You can avoid this by putting the text into [code] or, if you're OK with having your entire post scroll horizontally, [nobbc].

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
September 24, 2013, 12:42:18 AM
 #8

The space is due to the way some browsers parsing the html code.

I see this as the raw html
Code:
<div class="quote">Signed message: This 1 BTC is for sale by TheButterZone for $140<br>Signature: HOxlhwW83HZCEMw2DBGiqyf0dJFTgCtjvwpypPndsIzScc5RhD5xOC1PXaSveZIiL5pKG7bH3kZ47gW<span style="width: 0; margin: 0 -0.6ex 0 -1px;"> </span>ycbj0QUE=</div>

Notice the span injected in the middle of the signature.  Not sure how you got part of the signature ended up inside a different div tag but different browsers are going to parse that differently.  Chrome adds no spaces or line breaks but the html "standard" is more like a guideline and different browsers = different outcomes.  Not sure the exact reason the forum's parser interprets a long string that way but as indicated above using code tag is a workaround.

Using code tags:
Code:
HOxlhwW83HZCEMw2DBGiqyf0dJFTgCtjvwpypPndsIzScc5RhD5xOC1PXaSveZIiL5pKG7bH3kZ47gWycbj0QUE=

Produces the following html:
Code:
<div class="code">HOxlhwW83HZCEMw2DBGiqyf0dJFTgCtjvwpypPndsIzScc5RhD5xOC1PXaSveZIiL5pKG7bH3kZ47gWycbj0QUE=</div>
TheButterZone (OP)
Legendary
*
Offline Offline

Activity: 3038
Merit: 1032


RIP Mommy


View Profile WWW
September 24, 2013, 12:48:51 AM
 #9

Fixed, thanks all.

Saying that you don't trust someone because of their behavior is completely valid.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!