Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用 "图片描述" 后行内图片无法实现行内行为 #667

Closed
3 tasks done
cxplay opened this issue Sep 13, 2021 · 2 comments
Closed
3 tasks done

使用 "图片描述" 后行内图片无法实现行内行为 #667

cxplay opened this issue Sep 13, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@cxplay
Copy link

cxplay commented Sep 13, 2021

I want to create a Bug report

Butterfly Information

Butterfly Version:
3.8.3

Platform:
Windows 10 21H1

Browser:
Edge Chromium

Expected behavior

开启图片描述后对于行内图片应该不显示 alt

Actual behavior

开启图片描述后行内图片显示 alt 强行被添加 div 标签, 导致无法实现 "行内" 行为

Steps to reproduce the behavior

  1. 定义主题配置中 photofigcaptiontrue.
  2. 在文章中撰写 {% inlineImg src px %} 的标签.
  3. 若在此标签后跟随同一个任意标签或文字都会被渲染后导致换行.

Screenshots

image

image

Website

https://blog.bugimg.com/works/markdown_test.html#行内图片语法测试

Describe the bug

目前以上网站开启了图片描述

@jerryc127
Copy link
Owner

应该是 Bug
不过行内图片也没必要显示图片描述吧
我忘记排除掉

@cxplay
Copy link
Author

cxplay commented Sep 13, 2021

是的🤣

@jerryc127 jerryc127 added the bug Something isn't working label Sep 13, 2021
jerryc127 added a commit that referenced this issue Sep 18, 2021
fix: 修復使用本地搜索時,搜索插件配置為不搜索文章內容會無法使用搜索的 bug close #666
fix: 修復可能導致相關文章鏈接出錯的 bug close #549
improvement: 調整代碼框滾動條顏色 close #651
improvement: 當圖片沒有 figcaption 時,不會添加 figcaption 代碼
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants