From fdeb0616cda95b24a4e6d8aa00b1f56d90ea1d5d Mon Sep 17 00:00:00 2001 From: squidfunk Date: Fri, 24 Apr 2026 13:58:01 +0200 Subject: [PATCH] refactor: use identical name for tree- and postprocessor Signed-off-by: squidfunk --- python/zensical/extensions/glightbox.py | 2 +- python/zensical/extensions/links.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/zensical/extensions/glightbox.py b/python/zensical/extensions/glightbox.py index 98e7866..bbfaaf3 100644 --- a/python/zensical/extensions/glightbox.py +++ b/python/zensical/extensions/glightbox.py @@ -266,7 +266,7 @@ class GlightboxExtension(Extension): # Register postprocessor - run before `raw_html` (priority 30) postprocessor = GlightboxPostprocessor(md, self.getConfigs()) - md.postprocessors.register(postprocessor, "glightbox_raw", 29) + md.postprocessors.register(postprocessor, "glightbox", 29) # ----------------------------------------------------------------------------- diff --git a/python/zensical/extensions/links.py b/python/zensical/extensions/links.py index 59bd1cf..cb6443f 100644 --- a/python/zensical/extensions/links.py +++ b/python/zensical/extensions/links.py @@ -151,7 +151,7 @@ class LinksExtension(Extension): postprocessor = LinksPostprocessor( md, self.path, self.use_directory_urls ) - md.postprocessors.register(postprocessor, "zrelpath_raw", 29) + md.postprocessors.register(postprocessor, "zrelpath", 29) # -----------------------------------------------------------------------------