Click here to Skip to main content
15,891,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I am trying to write an Article on Android Mobile Application. While I am writing the code, e.g.
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.LoaderManager;
Then to hightlight this code section, I select Formatted and then select Java as the language. When I preview this web page, the above code is shown as follows:


XML
Collapse | Copy Code
<span class="Apple-tab-span" style="white-space: pre;"> </span>import android.support.v4.app.FragmentActivity;
<span class="Apple-tab-span" style="white-space: pre;"> </span>import android.support.v4.app.LoaderManager;


HTML content is also added along with the Java code!
How can I correctly hightlight the code section in my article?
Posted

1 solution

Don't post this under Quick Answers - you need to talk to the admins. Try asking here: http://www.codeproject.com/Forums/1641/Article-Writing.aspx[^] - Sean reads every post there, and should be able to see the article and help you.

Posting this here relies on them "dropping by" and realising it is for them.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900