You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Timeless0911
changed the title
[Bug]: features下的icon, img 标签会被认定为字符串
[Bug]: The icon and img tags under features will be recognized as strings
Nov 18, 2024
Version
System: OS: Linux 5.15 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish) CPU: (16) x64 AMD Ryzen 7 5800H with Radeon Graphics Memory: 24.31 GB / 31.28 GB Container: Yes Shell: 5.8.1 - /usr/bin/zsh npmPackages: rspress: ^1.37.0 => 1.37.0
Details
问题描述
下面是我原来的内容:
这段内容在之前是可以正常渲染的, 今天在使用 github actions 自动部署之后, 我发现原本正常显示的图标显示成了字符串
翻看了一下源码, 发现是
<img />
标签没有被认定为 html 标签, 导致被渲染成了字符串参照现在的代码逻辑, 我需要将内容替换为下面的形式, 来实现它应有的效果:
产生问题的原因
翻看了一下对应文件的更新记录, 发现这个问题来自一次 PR:
fix: render inline markdown with generic syntax (#1557)
对应的文件更改
Reproduce link
null
Reproduce Steps
null
The text was updated successfully, but these errors were encountered: