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

插件将消息结构修改导致Telegram Theme主题错位 #74

Closed
html5syt opened this issue Aug 11, 2024 · 1 comment · Fixed by #78
Closed

插件将消息结构修改导致Telegram Theme主题错位 #74

html5syt opened this issue Aug 11, 2024 · 1 comment · Fixed by #78
Labels
bug Something isn't working

Comments

@html5syt
Copy link

已确认是 markdown-it 插件将消息结构修改导致的现象,如图

由于 markdown 渲染后的 HTML 中文字内容没有标签包裹,我这里大概做不了适配

PS:TG 主题普通文字气泡圆角样式也会受 markdown 插件影响

image

festoney8/LiteLoaderQQNT-Telegram-Theme#46 (comment)

以上是我与该主题作者的交流,最终发现markdown-it对消息中的文字内容没有使用标签而无法针对性适配。我在排查问题的过程中也发现了该现象但无法使用自定义CSS进行修改。

希望作者可以在修改消息结构时对文字部分也添加一个标签,感谢。

@nfnfgo nfnfgo added the bug Something isn't working label Aug 13, 2024
@nfnfgo
Copy link
Collaborator

nfnfgo commented Oct 20, 2024

感谢您的反馈。

该问题可以被成功复现,MarkdownIt插件在当前版本确实会对消息结构进行改动。

我目前正在尝试对本插件的渲染逻辑进行改动,使其能更加适配QQ消息的HTML结构。好消息是,在开发中,实测本问题已经被解决,如果没有意外,我们会在下一个版本更新中解决这个问题。

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
2 participants