Skip to content

Commit 61cad24

Browse files
committed
Updated dependencies
1 parent dde13ce commit 61cad24

150 files changed

Lines changed: 1067 additions & 1292 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎docs/schema/assets/icons.json‎

Lines changed: 83 additions & 44 deletions
Large diffs are not rendered by default.

material/overrides/assets/javascripts/custom.a0168cc8.min.js renamed to material/overrides/assets/javascripts/custom.f46acd93.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

material/overrides/assets/javascripts/custom.a0168cc8.min.js.map renamed to material/overrides/assets/javascripts/custom.f46acd93.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎material/overrides/assets/javascripts/iconsearch_index.json‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

material/overrides/assets/stylesheets/custom.a2a27114.min.css renamed to material/overrides/assets/stylesheets/custom.f120bdc6.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

material/overrides/assets/stylesheets/custom.a2a27114.min.css.map renamed to material/overrides/assets/stylesheets/custom.f120bdc6.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎material/overrides/main.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
-#}
44
{% extends "base.html" %}
55
{% block extrahead %}
6-
<link rel="stylesheet" href="{{ 'assets/stylesheets/custom.a2a27114.min.css' | url }}">
6+
<link rel="stylesheet" href="{{ 'assets/stylesheets/custom.f120bdc6.min.css' | url }}">
77
{% endblock %}
88
{% block announce %}
99
For updates follow <strong>@squidfunk</strong> on
@@ -23,5 +23,5 @@
2323
{% endblock %}
2424
{% block scripts %}
2525
{{ super() }}
26-
<script src="{{ 'assets/javascripts/custom.a0168cc8.min.js' | url }}"></script>
26+
<script src="{{ 'assets/javascripts/custom.f46acd93.min.js' | url }}"></script>
2727
{% endblock %}

‎material/plugins/privacy/plugin.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ def on_config(self, config):
7070
self.assets = Files([])
7171
self.assets_done: list[File] = []
7272
self.assets_expr_map = {
73-
".css": r"url\(\s*([\"']?)(?P<url>http?[^)'\"]+)\1\s*\)",
74-
".js": r"[\"'](?P<url>http[^\"']+\.(?:css|js(?:on)?))[\"']",
73+
".css": r"url\(\s*([\"']?)(?P<url>(?:https?:)?//[^)'\"]+)\1\s*\)",
74+
".js": r"[\"'](?P<url>(?:https?:)?//[^\"']+\.(?:css|js(?:on)?))[\"']",
7575
**self.config.assets_expr_map
7676
}
7777

@@ -156,7 +156,7 @@ def on_page_content(self, html, *, page, config, files):
156156

157157
# Find all external images and download them if not excluded
158158
for match in re.findall(
159-
r"<img[^>]+src=['\"]?http[^>]+>",
159+
r"<img[^>]+src=['\"]?(?:https?:)?//[^>]+>",
160160
html, flags = re.I | re.M
161161
):
162162
el = self._parse_fragment(match)
@@ -407,7 +407,7 @@ def replace(match: Match):
407407

408408
# Find and replace all external asset URLs in current page
409409
return re.sub(
410-
r"<(?:(?:a|link|image)[^>]+href|(?:script|img)[^>]+src)=['\"]?http[^>]+>",
410+
r"<(?:(?:a|link|image)[^>]+href|(?:script|img)[^>]+src)=['\"]?(?:https?:)?//[^>]+>",
411411
replace, output, flags = re.I | re.M
412412
)
413413

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)