1. Subscriptions
  2. Services
  3. Hardware
  4. Support

ClearFoundation

Forums
Welcome, Guest
Wraps within Code Tags
(1 viewing) 1 Guest
Go to bottomPage: 12
TOPIC: Wraps within Code Tags
#6309
Wraps within Code Tags 1 Year, 11 Months ago  
The Code Tags are creating warps when a hyphen is encountered... not nice behaviour...

Two examples
www.clearfoundation.com/component/option...c,view/id,3024/#5955

www.clearfoundation.com/component/option...c,view/id,6302/#6307

and here -
Code:


this was all on one line with spaces separating words in every single case a separation is required
this-is-all-on-one-line-with-hyphens-(why-hyphens?)-separating-words-in-every-single-case-a-separation-is-required

Tony Ellis
Platinum Boarder
Posts: 885
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#6393
Re: Wraps within Code Tags 1 Year, 11 Months ago  
Yeah its pretty annoying! IMHO code tags shouldn't wrap?
Tim Burgess
Moderator
Posts: 4181
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#6888
Re: Wraps within Code Tags 1 Year, 11 Months ago  
Just found out that / will cause a wrap as well
www.clearfoundation.com/component/option...c,view/id,6875/#6886

That just about makes the code tags useless for their intended function - to display code laid out correctly...

Can this be fixed please...
Tony Ellis
Platinum Boarder
Posts: 885
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#10229
Re: Wraps within Code Tags 1 Year, 9 Months ago  
Ok so it looks like the forum updates made some changes to the way code text is wrapped (for the better), but now the scroll bars have disappeared! so the page formatting is messed up

See the following example, and Tony's code box above
www.clearfoundation.com/component/option...view/id,10217/#10228
Tim Burgess
Moderator
Posts: 4181
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#10462
Re: Wraps within Code Tags 1 Year, 9 Months ago  
Hmmm.... what to do.
Peter Baldwin
Developer
Posts: 965
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#10465
Re: Wraps within Code Tags 1 Year, 9 Months ago  
That should be better. IE compatibility issues -- another 20 minutes of my life that I won't get back.
Peter Baldwin
Developer
Posts: 965
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#10483
Re: Wraps within Code Tags 1 Year, 9 Months ago  
Thanks Peter! IE is a law unto itself?
Tim Burgess
Moderator
Posts: 4181
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#10578
Re: Wraps within Code Tags 1 Year, 9 Months ago  
Hi all,

Whoever is responsible ... thanks for fixing this

Greetings,

John
John
Platinum Boarder
Posts: 1255
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#24640
Re: Wraps within Code Tags 11 Months, 2 Weeks ago  
I just noticed that code tags drop underscores, as here:

/usr/local/games/cod2/cod2_lnxded +set dedicated 1 +set g_gametype dm + exec server.cfg +map_rotate +sv_punkbuster

becomes:
Code:

/usr/local/games/cod2/cod2_lnxded +set dedicated 1 +set g_gametype dm + exec server.cfg +map_rotate +sv_punkbuster


Perhaps time for another 20 minutes?

Peter
Peter Broch
Platinum Boarder
Posts: 353
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2011/02/20 00:26 By Broch.
The administrator has disabled public write access.
 
#24742
Re: Wraps within Code Tags 11 Months, 2 Weeks ago  
Hi Peter. Looks okay on Chrome/Ubuntu. What browser are you using?
Peter Baldwin
Developer
Posts: 965
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12
  get the latest posts directly to your desktop