Examples of D code in HTML that don't work correctly
And I realize that all or most of the problems are due to poor style, that there should be spaces around the operators and such.
import c.stdio;
int
main
(
char[][] args
)
{
int nbsp=1;
int quot=3;
int test1=quot
; // Added so the thing will compile
int test2=quot
/+ Not fixable like the previous one
int test3=nbsp"
+/
int test4=nbsp"
printf("test1==%d\ntest2==%d\ntest4==%d\n",test1,test2,test4);
char[] test5="Whoops!
";
char[] test6="<H1>Ah, that's better.</H1>";
printf("test5==%.*s\ntest6==%.*s\n",test5,test6);
return 1;
}