It seems like some code tags from the old forums were converted to a format of:
<preclass="ipsCode">
[content here with <br/> for new lines]
</pre>
And when making new code snippets in the new editor, the result is:
<preclass="ipsCode prettyprint lang-html prettyprinted"><spanclass="pln">
[content here with no <br/> for new lines]
</span></pre>
The class .ipsCode has a background property that makes it white, but the old code tags that were converted are missing the .pln class surrounding them to change the default text color to black, as well as the other classes that do color formatting, etc.
I'm not proposing we change the white background (it looks great as is). I'm more posting this so that other staff members can edit their old forms so that they are not white on white.
So, for anyone stumbling across this looking for a quick fix, try one of these three options:
White Background, Black Text:
On 3/1/2016 at 2:54 PM, Yamagata 1st MRB said:
Copy the pre-existing "invisible" code, then edit the post.
Double-click the codebox
If you lost text styling, paste the old code back in
2nd Platoon Weekly Attendance
Week of 30MAR2025
P = Present | E = Excused | A = Absent
Platoon Staff
CWO. A. Pitteway - Present
1stSgt. J. Candy - Present
GySgt. A Yoder - Present
GySgt. R. Fielding - Excused
1st Squad
Squad leader: Cpl. M. Noel - Excused
Cpl. B. Grande - Present
Cpl. R. Smith - Excused
Cpl. C. Keebler - Present
Pfc. D. Moffat - Present
2nd Squad
Squad leader: SSgt. S. Holquist - Excused
Cpl. T. Scary - Present
Cpl. C. Marsh - Present
Cpl. W. Swift - - Present
Pfc. M. Oake - Excused
Pvt. R. Zera - Absent
Name: XXTEHHAXOR1337XX
Steam I.D: STEAM_0:0:60869150
Duration of Ban: Permanent
Reasons for the Ban: Aimbot
Demo Provided?: Y
Comments: Demo is short, but long enough...
haxor.dem
Name: ††† Amputator †††
Steam I.D: STEAM_0:1:924596787
Duration of Ban: Permanent
Reasons for the Ban: Anti-Recoil Hack
Demo Provided?: Y
Comments: Looks like wall-hack too, but he's been leaving when I spec him, so I just took the obvious one.
amputator.dem
amputat.dem
Question
Woz 1st MRB
It seems like some code tags from the old forums were converted to a format of:
And when making new code snippets in the new editor, the result is:
The class .ipsCode has a background property that makes it white, but the old code tags that were converted are missing the .pln class surrounding them to change the default text color to black, as well as the other classes that do color formatting, etc.
I'm not proposing we change the white background (it looks great as is). I'm more posting this so that other staff members can edit their old forms so that they are not white on white.
So, for anyone stumbling across this looking for a quick fix, try one of these three options:
White Background, Black Text:
White Background, Black Text:
Black Background, White Text with White Bar to the Side:
20 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.