You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because the french traduction contains a single quote, encodeURI didn't encode single quote. The trick is to do the replacement of ' with %27, after the encoding.
I had to hack the code as following. I don't know if you have a better solution:
Because the french traduction contains a single quote, encodeURI didn't encode single quote. The trick is to do the replacement of ' with %27, after the encoding.
I had to hack the code as following. I don't know if you have a better solution:
$text = encodeURI( txt_data );
$text = $text.replace( /'/g, '%27');
$( '#two-factor-backup-codes-download-link' ).attr( 'href', $text);
The text was updated successfully, but these errors were encountered: