diff --git a/generate_index.py b/generate_index.py index 52097c01..fb6043ef 100644 --- a/generate_index.py +++ b/generate_index.py @@ -77,36 +77,56 @@ def copy_vendor_files(self, output_dir: str) -> None: def rewrite_html_content(self, content: str) -> str: """ - Rewrite known CDN asset URLs in an HTML document to their corresponding local vendor paths. - - Replaces specific external CDN links (React, Babel, Tailwind, PrismJS, FontAwesome, etc.) with local /vendor/... paths so the returned HTML references vendored assets. - + Rewrite CDN asset URLs in HTML to local /vendor/ paths. + + Replaces known external CDN links (React, Babel, Tailwind, PrismJS, FontAwesome, etc.) with corresponding /vendor/... paths and removes `integrity` and `crossorigin` attributes from `` and ` - + diff --git a/public/DataStructures/LinkedLists/leetcode/86. Partition List/GPT/README.html b/public/DataStructures/LinkedLists/leetcode/86. Partition List/GPT/README.html index 5aaf7c5b..bca48fba 100644 --- a/public/DataStructures/LinkedLists/leetcode/86. Partition List/GPT/README.html +++ b/public/DataStructures/LinkedLists/leetcode/86. Partition List/GPT/README.html @@ -31,7 +31,7 @@