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

GitHub Issue RSS 中部分 html 标签被转义 #465

Closed
whtsky opened this issue Aug 14, 2018 · 2 comments
Closed

GitHub Issue RSS 中部分 html 标签被转义 #465

whtsky opened this issue Aug 14, 2018 · 2 comments
Labels
RSS enhancement New feature or request to existing RSS

Comments

@whtsky
Copy link
Contributor

whtsky commented Aug 14, 2018

e.g.
https://rsshub.app/github/issue/sorrycc/blog

<p>&lt;img src=&quot;https://gw.alipayobjects.com/zos/rmsportal/bacFVBmyGFoXlEVtxgKE.gif&quot; width=&quot;200&quot; /&gt;</p>

这里的 <img> 标签被转义了,导致显示错误

@HenryQW
Copy link
Collaborator

HenryQW commented Aug 14, 2018

推荐把文内 html 转成 markdown, 转换都是npm包自动的, nothing we can do here.

@whtsky
Copy link
Contributor Author

whtsky commented Aug 14, 2018

推荐把文内 html 转成 markdown

这个文内 HTML 看起来是可以在 GitHub 里正常显示的: sorrycc/blog#68

转换都是npm包自动的

看起来是可以关的: https://markdown-it.github.io/markdown-it/#MarkdownIt.new ,但是可能要再过一遍 sanitizer

@DIYgod DIYgod added the RSS enhancement New feature or request to existing RSS label Aug 19, 2018
@DIYgod DIYgod closed this as completed in 4d11b25 Aug 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RSS enhancement New feature or request to existing RSS
Projects
None yet
Development

No branches or pull requests

3 participants