Skip to content

Improve HTML parsing code blocks #11068

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

Closed
3 tasks done
kylehz opened this issue Apr 17, 2024 · 3 comments
Closed
3 tasks done

Improve HTML parsing code blocks #11068

kylehz opened this issue Apr 17, 2024 · 3 comments
Assignees
Milestone

Comments

@kylehz
Copy link

kylehz commented Apr 17, 2024

代码块复制问题

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

这个代码块复制的时候会被识别成表格 文章地址
image
image

Expected result

希望识别成代码块

Screenshot or screen recording presentation

No response

Version environment

- Version: 3.0.10
- Operating System: MacOS
- Browser (if used):

Log file

More information

No response

@88250
Copy link
Member

88250 commented Apr 17, 2024

这个网页用的就是 table 哦:

image

@88250 88250 closed this as completed Apr 17, 2024
@kylehz
Copy link
Author

kylehz commented Apr 17, 2024

里面是code,复制到typora里是可以识别的:
image

@88250 88250 reopened this Apr 17, 2024
@88250 88250 self-assigned this Apr 17, 2024
@88250 88250 changed the title 代码块复制问题 Improved HTML parsing code blocks Apr 17, 2024
@88250 88250 changed the title Improved HTML parsing code blocks Improve HTML parsing code blocks Apr 17, 2024
@88250
Copy link
Member

88250 commented Apr 17, 2024

找到一个办法可以改进,下个版本再试试,谢谢。

88250 added a commit to 88250/lute that referenced this issue Apr 17, 2024
@88250 88250 added this to the 3.0.11 milestone Apr 17, 2024
@88250 88250 closed this as completed Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants