@A-Man does it also mess up when using full edit?
[code=cpp]
int a = 0;
cout << a << endl;
[/code]
Produces:
Notice the extra newline.
If you look at the HTML there is both a <br>-tag followed by a line feed-character (U+000A), which since the code is within a <pre> tag, both are counted as new lines.
Either one should be removed, to fix the issue.
Adding
Might fix the issue, but might also make things worse.
Edit: @STM1993 I am not sure these threads are relevant to each other.
[code=cpp]
int a = 0;
cout << a << endl;
[/code]
Produces:
|
C++-Code:
int a = 0; cout << a << endl; |
Notice the extra newline.
If you look at the HTML there is both a <br>-tag followed by a line feed-character (U+000A), which since the code is within a <pre> tag, both are counted as new lines.
Either one should be removed, to fix the issue.
Adding
|
CSS-Code:
.geshicode_b br { display: none; } |
Might fix the issue, but might also make things worse.
Edit: @STM1993 I am not sure these threads are relevant to each other.
| STM1993 edited this post 12-30-2015 08:17 PM because: |
| Threads merged. |
Age ratings for movies and games (and similar) have never been a good idea.
One can learn a lot from reinventing wheels.
An unsound argument is not the same as an invalid one.
volatile in C++ does not mean thread-safe.
Do not make APIs unnecessarily asynchronous.
Make C++ operator > again
Trump is an idiot.
One can learn a lot from reinventing wheels.
An unsound argument is not the same as an invalid one.
volatile in C++ does not mean thread-safe.
Do not make APIs unnecessarily asynchronous.
Make C++ operator > again
Trump is an idiot.

Chat

