File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ export const totpImageConverter = (data: string): string => {
140
140
const uri = new URL ( data )
141
141
142
142
// get name
143
- const name = uri . pathname . slice ( 1 )
143
+ const name = decodeURIComponent ( uri . pathname . slice ( 1 ) )
144
144
145
145
// get secret
146
146
const secret = uri . searchParams . get ( "secret" )
Original file line number Diff line number Diff line change @@ -84,9 +84,9 @@ export const exportHtmlFile = async () => {
84
84
const qrSrc = qr . createDataURL ( 3 , 3 )
85
85
86
86
const element = `
87
- <div>
87
+ <div style="margin-bottom: 300px;" >
88
88
<img class="img" src="${ qrSrc } ">
89
- <h1 style=font-family:Arial;>${ issuers [ i ] } </h1>
89
+ <h1 style=font-family:Arial;>${ issuers [ i ] } ( ${ names [ i ] } ) </h1>
90
90
</div>`
91
91
92
92
htmlString += element
You can’t perform that action at this time.
0 commit comments