- Avoiding unwanted differences in docs from how they were imported
" void Main()<br>"
" {<br>"
" char * helloString = \"Hello, World!\";<br>"
- " printf(\"%s\<br>\", helloString);<br>"
+ " printf(\"%s\\n\", helloString);<br>"
" }<br>"
"}<br>"
"<br>"
f.Puts("\\t");
b = 0;
}
+ else if(c >= 4 && ch == '>' && string[c-2] == 'r' && string[c-3] == 'b' && string[c-4] == '<')
+ {
+ // Add an automatic newline for <br> as this is how we imported documentor data...
+ int i;
+ buffer[b] = 0;
+ f.Puts(buffer);
+ f.Puts(">\"\n");
+ for(i = 0; i<indent; i++) f.Puts(" ");
+ f.Puts(" \"");
+ b = 0;
+ }
else if(ch == '\n')
{
int i;