| Welcome to Crypto. We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| Whitespace in [code] tags | |
|---|---|
| Topic Started: Jun 8 2008, 05:10 PM (220 Views) | |
| jdege | Jun 8 2008, 05:10 PM Post #1 |
|
Elite member
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I'm sure I'm not the only one who has noticed that since we've moved to ZetaBoards, our [code] tags have been stripping whitespace. I asked about this over on the zetaboards support forum, and one of the authors has posted some javascript that is supposed to fix this. http://support.zetaboards.com/topic/330778/1 |
| When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl. | |
![]() |
|
| Revelation | Jun 9 2008, 09:27 AM Post #2 |
|
Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I've copied the fix into the board code and edited the code a little to make it work. Let's test it:
Edited by Revelation, Jun 9 2008, 09:40 AM.
|
|
RRRREJMEEEEEPVKLWENFNVJKEEEEEAOLKAFKLXCFZAASDJXZTTTTTTTLSIOWJXMOKLAFJNNKFNXN RAGRBAQEMHIGDJVDSEOXVIYCELFHWLELJFIENXLRATALSJFSLCYTKLASJDKMHGOVOKAJDNMNUITN RRRRLJVEEEEECLYVYHNVPFTAEEEEEMWLMEIRNGLARWJAKJDFLWNTIERJMIPQWOTZEOCXKNUBNXCN RJIRPOWEANFUSNCZVDVZNMSFEKLOEPZLDKDJWSAAAAAAAOERHJCTNCKFRIMVKSOFOMKMANREWNBN RZUDRGXEEEEENFQIDVLQNCKNEEEEEDGLLLLLLAWIOSNCDARLODMTOEJXMILDFJROTKJSDNLVCZNN | |
![]() |
|
| jdege | Jun 9 2008, 11:57 AM Post #3 |
|
Elite member
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
It does seem to be working, when posted. The preview is broken.
|
| When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl. | |
![]() |
|
| mosher | Jul 11 2009, 07:34 PM Post #4 |
|
Member
![]() ![]() ![]() ![]()
|
I experienced the same problem when inserting column-sensitive text in a block. The solution I used was to specify a font block using courier and inserting HTML "&-nbsp;" (non-breaking space) instead of a space (ignore the hyphen between '&' and 'nbsp' -- without it ZetaBoards renders a non-breaking space!). Here's an example that uses regular spaces:
You can see that the spaces are stripped out. Here's what it looks like when using non-breaking spaces:
Kind of a pain, but it gets the job done. Hope this helps. Moshe |
![]() |
|
| mosher | Jul 25 2009, 06:25 PM Post #5 |
|
Member
![]() ![]() ![]() ![]()
|
Revelation, The fact that a block with spaces doesn't preview correctly is a super pain when posting a post with strategically placed whitespace. Can you please find out from the ZetaBoard people if they have a fix for it? If not, can you enter a bug report? It would be _great_ if this were fixed. Moshe |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Community · Next Topic » |





![]](http://209.85.122.85/static/1/pip_r.png)



1:18 PM Nov 8