mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-22 05:53:03 -04:00
Fixed file save regression in privacy plugin (#7673)
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user