浏览代码

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

version-14
Mohammad Hasnain Mohsin Rajan 3 年前
committed by GitHub
父节点
当前提交
02c9de7e38
找不到此签名对应的密钥 GPG 密钥 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 {


正在加载...
取消
保存