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

导出 HTML 和预览时不再将视频链接转换为 IFrame #6460

Closed
1 task done
luo-chuan opened this issue Nov 2, 2022 · 0 comments
Closed
1 task done

导出 HTML 和预览时不再将视频链接转换为 IFrame #6460

luo-chuan opened this issue Nov 2, 2022 · 0 comments
Assignees
Milestone

Comments

@luo-chuan
Copy link

该问题是否已经被报告过了? Is there an existing issue for this?

  • 我已经搜索了 Issues,没有发现类似问题
    I have searched the existing issues

描述问题 Describe the problem

表格中含有B站视频链接,非嵌入视频播放窗口,链接带有锚文本。导出为 html(SiYuan)及 html(markdown)都会导致排版错乱,具体表现为导出的 html 直接把视频的播放窗口嵌入到 html 中。导出为pdf是正常的。

期待的结果 Expected result

导出的 html 与导出前客户端中显示一致。

截屏或者录屏演示 Screenshot or screen recording presentation

导出前:
image

导出后:
image

版本环境 Version environment

- Version: v2.4.9
- Operating System: Win10
- Browser (if used): Edge 107

日志文件 Log file

siyuan.log

更多信息 More information

这是导出的 sy.zip 文件:
近世代数.sy.zip

@88250 88250 changed the title 表格中含有B站视频链接,导出为html后排版错乱 导出 HTML 时自动解析 B 站链接问题 Nov 3, 2022
@Vanessa219 Vanessa219 changed the title 导出 HTML 时自动解析 B 站链接问题 导出 HTML 和预览时不再将视频链接转换为 iframe Nov 4, 2022
@Vanessa219 Vanessa219 added this to the 2.4.10 milestone Nov 4, 2022
Vanessa219 added a commit that referenced this issue Nov 4, 2022
@88250 88250 changed the title 导出 HTML 和预览时不再将视频链接转换为 iframe 导出 HTML 和预览时不再将视频链接转换为 IFrame Nov 4, 2022
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