瀏覽代碼

fix(translation): Set translated text as html to get unescaped output (#16214)

version-14
Mohammad Hasnain Mohsin Rajan 3 年之前
committed by GitHub
父節點
當前提交
02c9de7e38
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      frappe/templates/includes/login/login.js

+ 1
- 1
frappe/templates/includes/login/login.js 查看文件

@@ -313,7 +313,7 @@ var continue_otp_app = function (setup, qrcode) {
var qrcode_div = $('<div class="text-muted" style="padding-bottom: 15px;"></div>');

if (setup) {
direction = $('<div>').attr('id', 'qr_info').text('{{ _("Enter Code displayed in OTP App.") }}');
direction = $('<div>').attr('id', 'qr_info').html('{{ _("Enter Code displayed in OTP App.") }}');
qrcode_div.append(direction);
$('#otp_div').prepend(qrcode_div);
} else {


Loading…
取消
儲存