Forum Ignores spaces in pasted documents?
Moderator: Moderators
- Ambush Bug
- Inmate
- Posts: 799
- Joined: Wed Mar 08, 2000 8:58 pm
Forum Ignores spaces in pasted documents?
So, here I am trying to update Desecration (yes, for real!), and it's giving me fits.
First I formatted the story for the forum like I usually do. I go in, search for italics and bold, pop in the usual tags. No problems there. Then I cut and paste the whole thing into the post window. It pastes just fine, looks exactly like the text in OpenOffice.
On previewing the post, however, all tabs at the beginning of paragraphs have been utterly removed. I end up with this:
“Heavy-heavy,” RD remarked. “You're not usually so pinched about procedure, Boss. What gives?”
...instead of a nice paragraph with a tab at the front. So I removed the tabs, replaced them with five spaces. Tried it again, no dice. Then, when writing this post, I tried putting spaces at the front of the paragraph manually, again, no dice.
Makes me think my prose is gonna be stuck in block format, y'know? Anyone got some help for me?
First I formatted the story for the forum like I usually do. I go in, search for italics and bold, pop in the usual tags. No problems there. Then I cut and paste the whole thing into the post window. It pastes just fine, looks exactly like the text in OpenOffice.
On previewing the post, however, all tabs at the beginning of paragraphs have been utterly removed. I end up with this:
“Heavy-heavy,” RD remarked. “You're not usually so pinched about procedure, Boss. What gives?”
...instead of a nice paragraph with a tab at the front. So I removed the tabs, replaced them with five spaces. Tried it again, no dice. Then, when writing this post, I tried putting spaces at the front of the paragraph manually, again, no dice.
Makes me think my prose is gonna be stuck in block format, y'know? Anyone got some help for me?
- XMEN Gambit
- Site Admin
- Posts: 4122
- Joined: Thu Nov 18, 1999 12:00 am
Spaces on the web have to be coded. Regular spaces no matter how many you put in will only show 1 space.
If you want to keep formatting, use the (code) tags. However this will put the text into Courier font and put it in a marked table.
The other way is to put the following for every space you want without using the (code) tags, however html needs to be enabled, which it looks like it is:
There is no html equivalent for Tab.
If you want to keep formatting, use the (code) tags. However this will put the text into Courier font and put it in a marked table.
Code: Select all
This is a 5 space indent. Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test.
Code: Select all
- XMEN Gambit
- Site Admin
- Posts: 4122
- Joined: Thu Nov 18, 1999 12:00 am
- XMEN Gambit
- Site Admin
- Posts: 4122
- Joined: Thu Nov 18, 1999 12:00 am
One simple solution is to use the html PRE tag. Example:
outputs this:
<pre>
this is a test
This is only a test
</pre>
So, you can cut-n-paste, then slap the PRE tags at the beginning and end. The only problem I've found with it then is the fonts and a tendancy to double-space on a hard return.... Still looking, though.
Code: Select all
<pre>
this is a test
This is only a test
</pre>
<pre>
this is a test
This is only a test
</pre>
So, you can cut-n-paste, then slap the PRE tags at the beginning and end. The only problem I've found with it then is the fonts and a tendancy to double-space on a hard return.... Still looking, though.
- Spinning Hat
- Inmate
- Posts: 2564
- Joined: Wed Jun 07, 2000 10:06 am
- Location: Minneapolis, MN
- Contact:
- Ambush Bug
- Inmate
- Posts: 799
- Joined: Wed Mar 08, 2000 8:58 pm
Yeah, it's been a bit wierd. Still haven't gotten a job, despite the huge numbers of applications I've sent out. We're talking, oh, probably sixty of 'em by now. I think I've had four interviews the whole time.
Despite that, I'm keeping a bit busy. Something clicked yesterday, and my story-apathy dried up for a bit and I blew right through the latest chapter.
Despite that, I'm keeping a bit busy. Something clicked yesterday, and my story-apathy dried up for a bit and I blew right through the latest chapter.
- Spinning Hat
- Inmate
- Posts: 2564
- Joined: Wed Jun 07, 2000 10:06 am
- Location: Minneapolis, MN
- Contact:
- Ambush Bug
- Inmate
- Posts: 799
- Joined: Wed Mar 08, 2000 8:58 pm
This is damned weird now. I've checked my profile settings, and HTML is on there, and I don't have 'disable HTML' checked in the post-box... but when I try and use the code Gryphon used ($nbsp;) I get this:
I even tried having OpenOffice save to HTML and copying the whole doc in from Notepad... no dice, all the HTML code shows right up as if I had turned off HTML.
Hm. Worse comes to worse, I guess I can try putting up the whole thing on my Charter webspace and linking you guys there, but I'd really like to figure out what is going on.
I even tried having OpenOffice save to HTML and copying the whole doc in from Notepad... no dice, all the HTML code shows right up as if I had turned off HTML.
Hm. Worse comes to worse, I guess I can try putting up the whole thing on my Charter webspace and linking you guys there, but I'd really like to figure out what is going on.
- Ambush Bug
- Inmate
- Posts: 799
- Joined: Wed Mar 08, 2000 8:58 pm
- Spinning Hat
- Inmate
- Posts: 2564
- Joined: Wed Jun 07, 2000 10:06 am
- Location: Minneapolis, MN
- Contact:
AB, if it somes down to it, Post on my forum, http://www.ianglenn.com/forum and you should be OK there. I've got vBulletin running there. Or I can upload a page for you, and send out the link to it.
- Spinning Hat
- Inmate
- Posts: 2564
- Joined: Wed Jun 07, 2000 10:06 am
- Location: Minneapolis, MN
- Contact:
- Ambush Bug
- Inmate
- Posts: 799
- Joined: Wed Mar 08, 2000 8:58 pm
- XMEN Gambit
- Site Admin
- Posts: 4122
- Joined: Thu Nov 18, 1999 12:00 am