فهرست منبع

【修复】文章内标签跳转选择器语法

PJ568 1 سال پیش
والد
کامیت
6dc899631c
3فایلهای تغییر یافته به همراه3 افزوده شده و 4 حذف شده
  1. 1 1
      Cargo.toml
  2. 2 2
      index.html
  3. 0 1
      index.min.html

+ 1 - 1
Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "markdown-html"
-version = "1.6.4"
+version = "1.6.5"
 edition = "2021"
 
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

+ 2 - 2
index.html

@@ -1,7 +1,7 @@
 <!doctype html>
 
 <html>
-<markdown-html version="1.6.4" author="PJ568" repo="https://github.com/PJ-568/markdown.html"
+<markdown-html version="1.6.5" author="PJ568" repo="https://github.com/PJ-568/markdown.html"
   license="CC BY-SA 4.0 International"></markdown-html>
 
 <head>
@@ -479,7 +479,7 @@
           darkmode.toggle();
         } else if (event.target.closest('.translate-switch')) {
           translate.changeLanguage(translate.language.getLocal());
-        } else if (event.target.closest('a[href^=#]')) {
+        } else if (event.target.closest('a[href^="#"]')) {
           // 目录平滑移动
           const href = event.target.getAttribute('href');
           if (href !== '#') {

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 1
index.min.html


برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است