<account-logo> 标签助手发出无效的 HTML

问题描述 投票:0回答:1
aspnetzero
1个回答
0
投票

我认为这是 ASPNETZero 中的一个错误。 目前,我正在使用此 JavaScript 将

&
更改为
?

$(document).ready(function () {
    $("img").each(function () {
        const src = $(this).attr("src");
        const fixed = src.replace(".png&", ".png?");
        $(this).attr("src", fixed);
    });
});
© www.soinside.com 2019 - 2024. All rights reserved.