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

修复与LiteLoaderQQNT-Markdown兼容性问题 #247

Closed
wants to merge 2 commits into from

Conversation

jhqwqmc
Copy link
Contributor

@jhqwqmc jhqwqmc commented May 26, 2024

@jhqwqmc jhqwqmc changed the title 修复于LiteLoaderQQNT-Markdown兼容性问题 修复与LiteLoaderQQNT-Markdown兼容性问题 May 26, 2024
@xiyuesaves
Copy link
Owner

这个问题不能直接通过修改查找元素来解决,因为如果文本内容含有md样式的话,会导致生成的图片气泡宽高出现错误,类似这样
image

@xiyuesaves
Copy link
Owner

我觉得最好的解决方法是在没有捕获到元素时直接退出避免报错就行了,因为不知道会不会有其他插件也像md插件这样直接修改元素class

@jhqwqmc
Copy link
Contributor Author

jhqwqmc commented May 27, 2024

虽然有宽高问题,但是有总比没有的好

@xiyuesaves
Copy link
Owner

xiyuesaves commented May 27, 2024

虽然有宽高问题,但是有总比没有的好

不太好,我觉得如果不能1:1复原的话不如直接在不受支持的消息上禁用此功能

@jhqwqmc jhqwqmc closed this May 27, 2024
@jhqwqmc jhqwqmc deleted the patch-1 branch May 27, 2024 05:07
@xiyuesaves
Copy link
Owner

该问题已通过其他方式修复,将会在下版本上线

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

Successfully merging this pull request may close these issues.

None yet

2 participants