Author

Topic: Space added by forum where no space put there by poster (Read 624 times)

legendary
Activity: 3052
Merit: 1031
RIP Mommy
Fixed, thanks all.
donator
Activity: 1218
Merit: 1079
Gerald Davis
The space is due to the way some browsers parsing the html code.

I see this as the raw html
Code:
Signed message: This 1 BTC is for sale by TheButterZone for $140
Signature: HOxlhwW83HZCEMw2DBGiqyf0dJFTgCtjvwpypPndsIzScc5RhD5xOC1PXaSveZIiL5pKG7bH3kZ47gW ycbj0QUE=


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:
HOxlhwW83HZCEMw2DBGiqyf0dJFTgCtjvwpypPndsIzScc5RhD5xOC1PXaSveZIiL5pKG7bH3kZ47gWycbj0QUE=
administrator
Activity: 5166
Merit: 12850
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].
legendary
Activity: 3052
Merit: 1031
RIP Mommy
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).
Vod
legendary
Activity: 3668
Merit: 3010
Licking my boob since 1970
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)
legendary
Activity: 966
Merit: 1004
Keep it real
It doesn't show a space in Chrome, got a screenshot of it showing in another browser?
legendary
Activity: 3052
Merit: 1031
RIP Mommy
FF v24
Vod
legendary
Activity: 3668
Merit: 3010
Licking my boob since 1970
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://bitcointalksearch.org/topic/m.3220444

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.
legendary
Activity: 3052
Merit: 1031
RIP Mommy
Signature: HOxlhwW83HZCEMw2DBGiqyf0dJFTgCtjvwpypPndsIzScc5RhD5xOC1PXaSveZIiL5pKG7bH3kZ47gW ycbj0QUE=
works when changed to
Code:
Signature: HOxlhwW83HZCEMw2DBGiqyf0dJFTgCtjvwpypPndsIzScc5RhD5xOC1PXaSveZIiL5pKG7bH3kZ47gWycbj0QUE=
Jump to: