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

图片的alt属性文本包含下划线时无法正确显示 #453

Open
Ryushane opened this issue Apr 17, 2023 · 0 comments
Open

图片的alt属性文本包含下划线时无法正确显示 #453

Ryushane opened this issue Apr 17, 2023 · 0 comments

Comments

@Ryushane
Copy link

Ryushane commented Apr 17, 2023

插入图片时方括号内包含下划线时,网站似乎不能正常显示图片。

在blog中的显示效果:
image

在Typora中显示效果:
image

将alt属性文本中的下划线去掉之后就可以显示图片了:
image

一个解决办法是在下划线前面加转义符 \ ,使其可以正常显示,但是带下划线的alt_text可以正常在typora、vscode、obsidian和typecho上正常显示,就因为要发布在github page单独进行修改有点麻烦。

@Ryushane Ryushane changed the title 图片的alt属性文本含中文时不能正常显示 图片的alt属性文本包含下划线时无法正确显示 Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant