Bitcoin Forum
November 18, 2017, 08:37:53 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Space added by forum where no space put there by poster  (Read 513 times)
TheButterZone
Legendary
*
Offline Offline

Activity: 1960


Nemo me impune lacessit


View Profile WWW
September 23, 2013, 10:05:46 PM
 #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=

1510994273
Hero Member
*
Offline Offline

Posts: 1510994273

View Profile Personal Message (Offline)

Ignore
1510994273
Reply with quote  #2

1510994273
Report to moderator
1510994273
Hero Member
*
Offline Offline

Posts: 1510994273

View Profile Personal Message (Offline)

Ignore
1510994273
Reply with quote  #2

1510994273
Report to moderator
1510994273
Hero Member
*
Offline Offline

Posts: 1510994273

View Profile Personal Message (Offline)

Ignore
1510994273
Reply with quote  #2

1510994273
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1510994273
Hero Member
*
Offline Offline

Posts: 1510994273

View Profile Personal Message (Offline)

Ignore
1510994273
Reply with quote  #2

1510994273
Report to moderator
1510994273
Hero Member
*
Offline Offline

Posts: 1510994273

View Profile Personal Message (Offline)

Ignore
1510994273
Reply with quote  #2

1510994273
Report to moderator
1510994273
Hero Member
*
Offline Offline

Posts: 1510994273

View Profile Personal Message (Offline)

Ignore
1510994273
Reply with quote  #2

1510994273
Report to moderator
Vod
Legendary
*
Offline Offline

Activity: 2198


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'm into creating universes, smiting people, writing holy books and listening to Prayer Messages (PMs).
I will ignore your Prayer Messages unless you donate to 1CDyx8AUTiYXS1ThcBU3vy4SJWQq6pdFMH
BitcoinTalk Public Information Project - Coming soon!
TheButterZone
Legendary
*
Offline Offline

Activity: 1960


Nemo me impune lacessit


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

FF v24

tysat
Legendary
*
Offline Offline

Activity: 966


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: 2198


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'm into creating universes, smiting people, writing holy books and listening to Prayer Messages (PMs).
I will ignore your Prayer Messages unless you donate to 1CDyx8AUTiYXS1ThcBU3vy4SJWQq6pdFMH
BitcoinTalk Public Information Project - Coming soon!
TheButterZone
Legendary
*
Offline Offline

Activity: 1960


Nemo me impune lacessit


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).

theymos
Administrator
Legendary
*
Offline Offline

Activity: 2842


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


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
Legendary
*
Offline Offline

Activity: 1960


Nemo me impune lacessit


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

Fixed, thanks all.

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!