I'm trying to gain a better understanding of compiling with the --shell-file 
flag.  
Reading through the code inside of shell_minimal.html I wee the following 
commented code:

// These replacements are necessary if you render to raw HTML
//text = text.replace(/&/g, "&");
//text = text.replace(/</g, "&lt;");
//text = text.replace(/>/g, "&gt;");
//text = text.replace('\n', '<br>', 'g');

What exactly is this doing?

Is there any documentation specifically about these shell files?  I'm not 
able to find anything that goes into any detail.

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to