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

[Bug]: 没有正确处理复合格式块 #136

Open
ifsheldon opened this issue Sep 5, 2024 · 0 comments
Open

[Bug]: 没有正确处理复合格式块 #136

ifsheldon opened this issue Sep 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ifsheldon
Copy link

问题描述

image

举个例子,上面的骨架资产是一个链接,但是也有下划线,所以是一个复合格式的块。但是得到的 Markdown 内容是

<u>骨架资产</u>

我觉得应该是这里

} else if style.Underline {

没有递归调用 parsing 所以才会有问题。我感觉,理论上,parse 了一个块的最外层之后,还应该递归地 parse 里面的内容,直到里面的内容是纯文本。

飞书文档链接

https://whgbt1zl2h.feishu.cn/docx/OcmBdwyhYomZeaxudJGcpHzQnZe?from=from_copylink

期望的 markdown 格式

<u>[骨架资产](https://url.link)</u>


### (可选)更多信息

_No response_
@Wsine Wsine added the bug Something isn't working label Sep 5, 2024
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