mirror of
https://github.com/zensical/zensical.git
synced 2026-05-04 01:50:48 +00:00
refactor: use identical name for tree- and postprocessor
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user