From 4dd19b535603d4a9dc8b64033192592572db5180 Mon Sep 17 00:00:00 2001 From: MLYoshi <151289856+MLYoshi@users.noreply.github.com> Date: Thu, 8 Oct 2026 13:04:36 +0800 Subject: [PATCH] fix(frontend): render single tilde literally instead of GFM strikethrough (#3963) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(markdown): 单个波浪号不再被解析成删除线 GFM 会把区间标记(如 2020~2035)里的单个 `~` 误解析成删除线。 覆盖 marked 的 del tokenizer:`~~...~~` 仍走默认删除线规则, 单个 `~` 则按字面保留;并新增单测覆盖时间/区间场景。 * fix(markdown): register the literal single-tilde tokenizer once doc-content.vue and WikiBrowser.vue called marked.use() for the del tokenizer override inside