The Arcive of vBulletin Modifications Site. |
|
vBcode: <pre> adds double-spacing (Please help) Details »»
|
|||||||||||||||||||||||||||
|
vBcode: <pre> adds double-spacing (Please help)
Developer Last Online: May 2019
Hello,
I have recently put all of the tablature we have on vB posts instead of static pages. I created a new vb code which was something like this: <pre><font size=+1>{param}</font></pre>. All seemed to be working fine. Then, a few days ago, a user complained that the tabs were double-spaced. They weren't before. I checked, and I noticed that vB added an extra <br /> on the end of every line. Since I was using <pre> as well, that resulted in double spacing, which made the tabs difficult to read. I then switched the vb code to <font face=courier>{param}</font>. The double spacing problem was solved, but another issue started: many of the tabs have blank spaces on them to align the chords with the lyrics, such as this: Code:
E5 A5 Only dimly aware of a certain unease in the air F#5 F#5 Code:
E5 A5 Only dimly aware of a certain unease in the air F#5 F#5 So, I'm looking for a solution to this. I thought that I could either remove the <br /> on all tablature threads, but I don't know how to do that except manually, and we've got over 500 tabs, so that would be VERY time consuming. I tried to make a Replacement Set, so <br /> would be replaced by nothing. The problem with that is that I lose all of the line spacing on other threads. I'd really appreciate your help on this. Thanks a lot! Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Why don't you just use the [code] tag?
|
![]() |
|
|