We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
源代码(示例):
<a href="#">#</a> <a href="#1">#1</a> <a href="#2">#2</a> <a href="#a">#a</a>
经过 MIP-Cache 解析后(示例):
<a href="https://static.xuexb.com/html/test-anchor.html#">#</a> <a href="https://static.xuexb.com/html/test-anchor.html#1">#1</a> <a href="https://static.xuexb.com/html/test-anchor.html#2">#2</a> <a href="https://static.xuexb.com/html/test-anchor.html#a">#a</a>
而又命中了核心代码的链接规则:
mip/src/viewer.js
Lines 235 to 263 in 2af390c
导航经过 MIP-Cache 后(线上),原生的 HTML 锚点不能使用,点击直接跳转到源站了。
The text was updated successfully, but these errors were encountered:
期望的:
href="#"
window.top.location.href
Sorry, something went wrong.
AMP-Cache 结果:
<a href=#>#</a> <a href=#1>#1</a> <a href=#2>#2</a> <a href=#a>#a</a>
示例:https://static-xuexb-com.cdn.ampproject.org/v/s/static.xuexb.com/html/test-anchor-amp.html?d=1&_js_v=0.1&usqp=mq331AQGCAEYASAB#
No branches or pull requests
源代码(示例):
经过 MIP-Cache 解析后(示例):
而又命中了核心代码的链接规则:
mip/src/viewer.js
Lines 235 to 263 in 2af390c
导航经过 MIP-Cache 后(线上),原生的 HTML 锚点不能使用,点击直接跳转到源站了。
The text was updated successfully, but these errors were encountered: