diff --git a/CHANGELOG b/CHANGELOG index 3d9cfcc081e..e23e3c22c94 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +mkdocs-material-9.5.44 (2024-11-05) + + * Fixed #7672: Font CSS 404's when using privacy plugin (9.5.43 regression) + mkdocs-material-9.5.43 (2024-10-31) * Added support for external images in SVGs in privacy plugin diff --git a/docs/changelog/index.md b/docs/changelog/index.md index 29e712cef48..e1a10434f28 100644 --- a/docs/changelog/index.md +++ b/docs/changelog/index.md @@ -2,6 +2,10 @@ ## Material for MkDocs +### 9.5.44 October 31, 2024 { id="9.5.44" } + +- Fixed #7672: Font CSS 404's when using privacy plugin (9.5.43 regression) + ### 9.5.43 October 31, 2024 { id="9.5.43" } - Added support for external images in SVGs in privacy plugin diff --git a/material/__init__.py b/material/__init__.py index c0ef38c8efc..492d9c5720d 100644 --- a/material/__init__.py +++ b/material/__init__.py @@ -18,4 +18,4 @@ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS # IN THE SOFTWARE. -__version__ = "9.5.43" +__version__ = "9.5.44" diff --git a/material/plugins/privacy/plugin.py b/material/plugins/privacy/plugin.py index c760d9b6f17..a180c57a2b5 100644 --- a/material/plugins/privacy/plugin.py +++ b/material/plugins/privacy/plugin.py @@ -467,7 +467,7 @@ def _patch(self, initiator: File): # 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)) diff --git a/material/templates/base.html b/material/templates/base.html index 90e391d2f51..ff527e78aee 100644 --- a/material/templates/base.html +++ b/material/templates/base.html @@ -32,7 +32,7 @@ {% endif %} - + {% endblock %} {% block htmltitle %} {% if page.meta and page.meta.title %} diff --git a/package-lock.json b/package-lock.json index 20089078526..64c239d777f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mkdocs-material", - "version": "9.5.43", + "version": "9.5.44", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "mkdocs-material", - "version": "9.5.43", + "version": "9.5.44", "license": "MIT", "dependencies": { "clipboard": "^2.0.11", diff --git a/package.json b/package.json index 00e3afffe6e..5e697c142d3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mkdocs-material", - "version": "9.5.43", + "version": "9.5.44", "description": "Documentation that simply works", "keywords": [ "mkdocs",