in tools/js/generator.js [10:24]
function formatCredentialTextForHTML(credentialText) {
// Remove whitespace at end of PEM file (to eliminate differences between input files)
credentialText = credentialText.trim();
// Replace any CR/LF pairs with a newline character.
credentialText = credentialText.replace(/\r\n/g, "\n");
// Add line endings, string quote, and line continuation, as well as html line breaks. (\n"\ <break>)
credentialText = credentialText.replace(/\n/g, "\\n\"\\<br>\n\"");
// Format the end of the last line with " (but no line continuation).
credentialText = credentialText + "\"\n";
return credentialText;
}