diff --git a/src/api/comm.libraryofcode.org/routes/keys.ts b/src/api/comm.libraryofcode.org/routes/keys.ts index c7e38d5..e525b93 100644 --- a/src/api/comm.libraryofcode.org/routes/keys.ts +++ b/src/api/comm.libraryofcode.org/routes/keys.ts @@ -68,7 +68,7 @@ export default class Keys extends Route {

Issuer: ${x509.data.issuer.organization} (${x509.data.issuer.commonName})




- ${memberDoc.x509.replace('\n', '
')} + ${memberDoc.x509.replace(/(?:\r\n|\r|\n)/g, '
')} `); }); @@ -120,7 +120,7 @@ export default class Keys extends Route {

Key ID: ${pgp.data.keyID}

Fingerprint: ${pgp.data.fingerprint}




- ${memberDoc.pgp.replace('\n', '
')} + ${memberDoc.pgp.replace(/(?:\r\n|\r|\n)/g, '
')} `); }); }