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

fix(paginator): compatibility with hexo-util@1.3.0 #3728

Merged
merged 6 commits into from
Sep 27, 2019

Conversation

curbengh
Copy link
Contributor

@curbengh curbengh commented Sep 22, 2019

What does it do?

htmlTag in hexo-util@1.3.0 onward escape html tag and encode url by default. This PR adds trailing slash to expected value of href; trailing slash is added by encodeURL() of html-util.

In paginator helper,

How to test

git clone -b escape-html https://github.com/curbengh/hexo.git
cd hexo
npm install
npm test

Pull request tasks

  • Add test cases for the changes.
  • Passed the CI test.

@coveralls
Copy link

coveralls commented Sep 22, 2019

Coverage Status

Coverage remained the same at 97.248% when pulling 6fd5231 on curbengh:escape-html into 53ebe22 on hexojs:master.

@curbengh
Copy link
Contributor Author

Pending hexojs/hexo-util#102

@curbengh
Copy link
Contributor Author

Pending hexojs/hexo-util#103

@curbengh
Copy link
Contributor Author

Ready

@curbengh curbengh requested a review from a team September 27, 2019 00:31
@curbengh curbengh changed the title fix: compatibility with hexo-util@1.3.0 fix(paginator): compatibility with hexo-util@1.3.0 Sep 27, 2019
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.

pagination parsing error(分页编译错误)
3 participants