diff --git a/webadmin/admin.js b/webadmin/admin.js index 0e61bd2..36bf6c2 100644 --- a/webadmin/admin.js +++ b/webadmin/admin.js @@ -2580,7 +2580,7 @@ const domainDNSRecords = async (d) => { client.DomainRecords(d), client.ParseDomain(d), ]); - dom._kids(page, crumbs(crumblink('Mox Admin', '#'), crumblink('Domain ' + domainString(dnsdomain), '#domains/' + d), 'DNS Records'), dom.h1('Required DNS records'), dom.pre('pre', dom._class('literal'), (records || []).join('\n')), dom.br()); + dom._kids(page, crumbs(crumblink('Mox Admin', '#'), crumblink('Domain ' + domainString(dnsdomain), '#domains/' + d), 'DNS Records'), dom.h1('Required DNS records'), dom.pre(dom._class('literal'), (records || []).join('\n')), dom.br()); }; const domainDNSCheck = async (d) => { const [checks, dnsdomain] = await Promise.all([ diff --git a/webadmin/admin.ts b/webadmin/admin.ts index 439686e..de6e70a 100644 --- a/webadmin/admin.ts +++ b/webadmin/admin.ts @@ -1906,7 +1906,7 @@ const domainDNSRecords = async (d: string) => { 'DNS Records', ), dom.h1('Required DNS records'), - dom.pre('pre', dom._class('literal'), (records || []).join('\n')), + dom.pre(dom._class('literal'), (records || []).join('\n')), dom.br(), ) }