From d82d8b68e452ec02ba32d5df0b3364fafead9403 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sat, 3 Jul 2021 22:52:09 -0400 Subject: [PATCH] fixes --- src/api/comm.libraryofcode.org/routes/keys.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, '
')} `); }); }