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

fix: code style lost in downloaded html file #73

Merged
merged 3 commits into from
Oct 30, 2021
Merged

Conversation

ocian
Copy link
Member

@ocian ocian commented Oct 30, 2021

复制按钮处对 HTML 的处理,在文件下载的时候,没有生效,这个结论基于我的尝试。

我的解决办法,是针对代码块部分的元素,首先获取到元素所有的样式属性,然后做成行内样式,最后再导出。

@ocian ocian requested a review from yanglbme October 30, 2021 14:45
@yanglbme yanglbme merged commit 150435e into main Oct 30, 2021
@yanglbme yanglbme deleted the feature-export-html branch October 30, 2021 14:59
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.

2 participants