When I download my students Java programs I am getting HTML tags “"” for “ as well as <pre><p> throughout their programs. It has not done this before. Any idea what is going on? (Moodle 1.7+, PHP 5.1.1, mysql 5.0.18, Windows 2003)
Example:
<pre><p> /* p6.java
March 2007
Program demonstrates how to work with string data,
including coverting numbers to number values from string values, etc.*/
import java.util.StringTokenizer;
public class p6
{
public static void main (String args[])
{
//testing convertDouble method
double a = convertDouble("$1,234,569.44");
System.out.printf("%.2f\n", a);
Double b = convertDouble("$359.00");
System.out.printf("%.2f\n", b);
double c = convertDouble("16 dollars");
System.out.printf("%.2f\n", c);
double d = convertDouble("$562");
System.out.printf("%.2f\n\n", d);
-------------------------------------------------------------------