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: 加引号处理href属性中空格导致的地址错误 #796

Merged
merged 1 commit into from
Aug 1, 2022

Conversation

longguzzz
Copy link
Collaborator

PR Type

  • [ x ] Bugfix.
  • Feature.
  • Code style update (formatting, local variables).
  • Refactoring (no functional changes, no api changes).
  • Build & CI related changes.
  • Documentation.
  • Translation.
  • Other... Please describe:

Description

之前只是把permalink相关的地方加了一层decodeURI,但是刚刚发现,如果在文件路径中包含空格会导致显示正常,但是跳转错误。找了一下,发现原先的href属性里缺引号

Others

  • Issue resolved:

  • Screenshots with this changes:

  • Link to demo site with this changes:

@github-actions github-actions bot added the Layout Pull requests that update a layout file label Aug 1, 2022
@longguzzz longguzzz changed the title fix: 加引号处理herf属性中空格导致的地址错误 fix: 加引号处理href属性中空格导致的地址错误 Aug 1, 2022
@MHuiG MHuiG merged commit 2bb4043 into volantis-x:dev Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Layout Pull requests that update a layout file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants