CSS Issue for Programming Code in the Post

Posted in: Newspaper
Post count: 2

When I am inserting a C++ programming code in the Post, my code consists of below


#include <bits/stdc++.h>

but in the Post after publish shows only


#include

When I see in HTML Source Code then I see that


<bits/stdc++.h>

got converted to HTML Tag like below and thats why it does not visible in UI


<bits stdc++.h="">

Please let me know how to fix this as my blog is a programming tutorial and I post lot of codes of Java/C++ etc.

Thanks
Rahul

Post count: 35449

Hi,

Pelase read this topic, and try the solution sugested there
-> https://stackoverflow.com/questions/27766711/pre-not-working-well-with-iostream-for-c-code

Or you can add some space :
https://www.screencast.com/t/lOlN2rnv4
Results https://www.screencast.com/t/5Ml95lyr

Thank you for your understanding.

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.