fix: wrong behavior when there's no img provided for qrcode #840
+1
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Type
Description
遵循如下配置文件来复现这个 bug:
可见微博 img 被注释后直接不再显示这个元素,而 qrcode 的 img 被注释后,则出现了如图的异常。
这个 PR 修复了这个问题,让 qrcode 的表现与其它分享图标一致。
Others
我在 2020 年 5 月开始使用此主题,2022 年 3 月从 Hexo 切换到了别的博客系统。当时我完全不懂编程,更别说前端开发。现在我的 GitHub 已经一大片绿,谨以此 PR 纪念这个陪伴我两年的主题,以及这个陪伴我两年的博客系统。