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

Fixed Disqus bug if in permalink exists symbol «'» . #504

Merged
merged 1 commit into from
Dec 12, 2018
Merged

Conversation

ivan-nginx
Copy link
Member

@ivan-nginx ivan-nginx commented Dec 12, 2018

Issue number: #494

Before:
image

After:
image

@ivan-nginx ivan-nginx added this to the v6.6.1 milestone Dec 12, 2018
@ivan-nginx ivan-nginx merged commit fabf700 into master Dec 12, 2018
@ivan-nginx ivan-nginx deleted the dev branch December 12, 2018 12:48
@stevenjoezhang
Copy link
Contributor

But it won't work when page.path contains a "

@ivan-nginx
Copy link
Member Author

ivan-nginx commented Dec 12, 2018

Well, what we will do? Revert or trying to find solution for both quotes?
Maybe this will working well? Check it if have time.

@Raincal
Copy link
Member

Raincal commented Dec 12, 2018

This way is better.

this.page.url = "{{ encodeURI(page.permalink) }}";
this.page.identifier = "{{ encodeURI(page.path) }}";

@stevenjoezhang stevenjoezhang mentioned this pull request Oct 9, 2019
33 tasks
tongluyang pushed a commit to tongluyang/hexo-theme-next that referenced this pull request Nov 19, 2019
Fixed Disqus bug if in permalink exists symbol «'» .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants