mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-23 23:21:00 +01:00
Fixed file save regression in privacy plugin (#7673)
This commit is contained in:
parent
ac3315fd3e
commit
eb63b608e2
@ -467,7 +467,7 @@ class PrivacyPlugin(BasePlugin[PrivacyConfig]):
|
||||
|
||||
# Replace callback
|
||||
def replace(match: Match):
|
||||
value = match.group(1)
|
||||
value = match.group("url")
|
||||
|
||||
# Map URL to canonical path
|
||||
path = self._path_from_url(urlparse(value))
|
||||
|
Loading…
Reference in New Issue
Block a user