Wordpress New Post Issue I made a post in http://greatfindings.wordpress.com/2008/06/09/java-date-to-caldendar/ Its a java code and hence to maintain the indentation I used the HTML View of the Wordpress Blog and I pasted the code in between <pre> /pre> tags. For some reason the text on the right hand of each line of my code has got trimmed of. How do I prevent this from happenning This is the full code import java.util.*; import java.text.*; public class DateToCalender { public static void main(String[] args) { try { String str_date1 = "11-June-07"; DateFormat formatter1; Date date; formatter1 = new SimpleDateFormat("dd-MMM-yy"); date = (Date) formatter1.parse(str_date1); Calendar cal = Calendar.getInstance(); cal.setTime(date); System.out.println("Today is " + cal); } catch (ParseException e) { System.out.println("Exception :" + e); } } } Code (markup): Regards, Hemanth
Can anyone help me with it. If you see my post you can see that some text of the java program is missing. How do I get my wordpress post to show the entire program correctly