Skip to content

fix: Do not escape the footer info #74

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

Merged
merged 1 commit into from
Dec 22, 2022
Merged

fix: Do not escape the footer info #74

merged 1 commit into from
Dec 22, 2022

Conversation

if-nil
Copy link
Contributor

@if-nil if-nil commented Dec 22, 2022

在后台设置页脚信息后,发现博客页会把完整的信息显示出来,而不是显示HTML渲染后的内容:

image
image
image

原因是页脚在渲染的时候被转义了,所以在 template 里面调一下noescape函数

效果:
image

@1379
Copy link
Contributor

1379 commented Dec 22, 2022

Thanks for your contribution!

@1379 1379 merged commit 5cf3e73 into go-sonic:master Dec 22, 2022
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

Successfully merging this pull request may close these issues.

2 participants