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

font标签好像没过滤或转化掉 #55

Open
jiazeyan opened this issue Nov 11, 2024 · 3 comments
Open

font标签好像没过滤或转化掉 #55

jiazeyan opened this issue Nov 11, 2024 · 3 comments

Comments

@jiazeyan
Copy link

基本信息

  • 操作系统:MAC
  • yuque-dl版本:1.0.71
  • Nodejs版本:v22.11.0
  • 方便的话提供语雀知识库的URL:

提示: 检查是否开启vpn导致的异常

问题描述

font标签好像没过滤或转化掉
image

如何复现

@gxr404
Copy link
Owner

gxr404 commented Nov 11, 2024

暂时不处理这些标签 语雀接口返回什么就输出什么
大多数markdown渲染器 含有html标签应该不影响显示


markdown源码:

<font style="color: red">Test</font>

github输出的是:

Test


请问上面图片是在什么应用里面的

@jiazeyan jiazeyan reopened this Nov 12, 2024
@jiazeyan
Copy link
Author

暂时不处理这些标签 语雀接口返回什么就输出什么 大多数markdown渲染器包含html标签应该不影响显示

markdown源码:

<font style="color: red">Test</font>

github输出的内容:

测试

请问上面的图片是在什么应用里面的

就用的内置web 本地访问的 yuque-dl server ./download/知识库/
链接地址:https://www.yuque.com/jiazeyan/kb/vggponb8paktgrya

@gxr404
Copy link
Owner

gxr404 commented Nov 13, 2024

v1.0.73 已改成支持markdown里html的渲染 不过还是有些瑕疵的地方
有些地方 html之间的换行丢失了,看了下应该是vitepress里的问题

markdown源码:

```md
<font>font 标签没换行</font>

<font>font 标签没换行</font>
```

github输出的是:

font 标签没换行

font 标签没换行

vitepress 输出: 例子

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

No branches or pull requests

2 participants