jerryc127 / hexo-theme-butterfly

🦋 A Hexo Theme: Butterfly
https://butterfly.js.org
Apache License 2.0
7.23k stars 1.3k forks source link

[Bug]: 在美化模式下无序列表的缩进偏左 #1523

Closed eternal-bug closed 5 months ago

eternal-bug commented 5 months ago

使用的 Butterfly 版本? | What version of Butterfly are you use?

4.9.0

是否修改过主题文件? || Has the theme files been modified?

否 (No)

使用的瀏覽器? || What browse are you using?

Chrome

使用的系統? || What operating system are you using?

Windows

依賴插件 | Package dependencies Information

+-- @renbaoshuo/markdown-it-katex@2.0.2
+-- hexo@6.3.0
+-- hexo-abbrlink@2.2.1
+-- hexo-asset-image@1.0.0
+-- hexo-butterfly-envelope@1.0.15
+-- hexo-deployer-git@4.0.0
+-- hexo-filter-flowchart@1.0.4
+-- hexo-filter-github-emojis@3.0.5
+-- hexo-generator-archive@2.0.0
+-- hexo-generator-category@2.0.0
+-- hexo-generator-feed@3.0.0
+-- hexo-generator-index@3.0.0
+-- hexo-generator-search@2.4.3
+-- hexo-generator-tag@2.0.0
+-- hexo-renderer-dartsass@0.1.3
+-- hexo-renderer-ejs@2.0.0
+-- hexo-renderer-markdown-it@7.1.1
+-- hexo-renderer-markdown-it-katex@3.4.4
+-- hexo-renderer-mathjax@0.6.0
+-- hexo-renderer-pug@3.0.0
+-- hexo-renderer-stylus@2.1.0
+-- hexo-server@3.0.0
+-- hexo-theme-landscape@1.0.0
+-- hexo-wordcount@6.0.1
+-- katex@0.16.10
+-- markdown-it-container@3.0.0
+-- markdown-it-deflist@2.1.0
+-- markdown-it-emoji@2.0.2
`-- markdown-it-mark@3.0.1

問題描述 | Describe the bug

我开启了页面美化模式:

# Beautify (美化頁面顯示)
beautify:
  enable: true

无序列表显示有点靠左边了,这和其他人的不同:

无序列表靠左

markdown中的内容:

参考

+ [官网教程](https://butterfly.js.org/posts/21cfbf15/)
+ [网友教程-Butterfly主题美化教程](https://butterfly.zhheo.com/)

hexo生成的html文件中对应的内容:

<p>参考</p>
<ul>
<li>
<p><a target="_blank" rel="noopener" href="https://butterfly.js.org/posts/21cfbf15/">官网教程</a></p>
</li>
<li>
<p><a target="_blank" rel="noopener" href="https://butterfly.zhheo.com/">网友教程-Butterfly主题美化教程</a></p>
</li>
</ul>

不知道是不是我安装插件的冲突还是什么原因。

出現問題網站 | Website

https://eternal-bug.github.io/posts/c648e0ee.html

eternal-bug commented 5 months ago

刚才试了一下Edge浏览器,缩进是对的!看来和浏览器有关系。