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

文章标题带有&符号时生成的RSS格式报错 #103

Closed
yhyy135 opened this issue Apr 7, 2020 · 0 comments
Closed

文章标题带有&符号时生成的RSS格式报错 #103

yhyy135 opened this issue Apr 7, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@yhyy135
Copy link

yhyy135 commented Apr 7, 2020

文章标题中含有 & 符号时,文章列表页、文章内容页均正常,但生成的 RSS Feed 文件将报错。

例如,文章标题:Hugo&MemE,访问网站 RSS 时报错:

This page contains the following errors:
error on line 5268 at column 47: EntityRef: expecting ';'
Below is a rendering of the page up to the first error.

将文章标题修改为:Hugo&MemE 后,RSS 生成正常,RSS 内对应标题为 Hugo&MemE,可以被 RSS 阅读器正常读取。但文章列表页、文章内容页内的标题均显示 Hugo&MemE

@reuixiy reuixiy added the bug Something isn't working label Apr 7, 2020
@reuixiy reuixiy closed this as completed in b1890ee Apr 7, 2020
ulmefors pushed a commit to ulmefors/hugo-theme-meme that referenced this issue Nov 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants