mirror of
https://github.com/zensical/zensical.git
synced 2026-05-04 01:50:48 +00:00
chore: fix ty warning
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
This commit is contained in:
@@ -209,7 +209,7 @@ class GlightboxPostprocessor(PostprocessorExt):
|
||||
"""Wrap images in stashed HTML blocks."""
|
||||
for i, raw in enumerate(self.md.htmlStash.rawHtmlBlocks):
|
||||
if i not in self._processed:
|
||||
self.md.htmlStash.rawHtmlBlocks[i] = _RE.sub(
|
||||
self.md.htmlStash.rawHtmlBlocks[i] = _RE.sub( # ty:ignore[no-matching-overload]
|
||||
self._maybe_process, raw
|
||||
)
|
||||
self._processed.add(i)
|
||||
|
||||
Reference in New Issue
Block a user