Repository navigation
修复主站特殊字符搜索并统一70页搜索入口 - #7
Open
RyanCoreAI wants to merge 1 commit into
Open
RyanCoreAI wants to merge 1 commit into
RyanCoreAI wants to merge 1 commit into
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
View logs |
myblog | 6921a83 | Nov 05 2026, 02:57 PM |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
主站页面实际使用的内联搜索将查询当作正则,C++、[等普通技术关键字会抛异常;外置脚本的已有修补没有被页面使用。此PR让70个主站生成页面统一加载/js/search.js,以文字搜索、DOM文本节点高亮和同源URL校验处理内容,并让手机端长标题自动换行。
基于最新main8dd4c95,不合并旧PR6的生成页面,保留期间新增文章与站点更新。73文件差异仅为70页bootstrap、共享脚本、测试和维护说明;所有上传blob逐一核验。
本地验证:6/6确定性回归(C++、[、a.b、$&、内容转义/URL边界、70页覆盖),Edge真实浏览器1440和390两视口文字搜索/脚本不执行/无溢出检查与截图复核,页面错误0,git diff --cached --check通过。浏览器索引使用隔离合成样本,外部第三方请求被阻止。
本仓库只有生成产物,Hexo源模板需同步本bootstrap才能防止将来重新生成回退,详见docs/search-repair.md。提交带[skip ci],未合并/部署。旧PR6的作品集修复范围与本PR不同,仍需单独复核,不在此覆盖。