虽然在博客中将google字体添加到我的博客中,但标题部分出现错误

问题描述 投票:1回答:1

请帮助我解决下图中显示的错误。

它说:

Error parsing XML, line 5, column 71: The reference to entity "display" must end with the ';' delimiter
<strike>
<head>
    <link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet"/>
</strike>

“在此处输入图像描述”

javascript html css blogger blogs
1个回答
1
投票

您需要在XML代码中将与号&转换为&amp;

<link href="https://fonts.googleapis.com/css?family=Roboto&amp;display=swap" rel="stylesheet"/>
© www.soinside.com 2019 - 2024. All rights reserved.