chore: fix ty warning

Signed-off-by: squidfunk <martin.donath@squidfunk.com>
This commit is contained in:
squidfunk
2026-05-01 13:39:22 +02:00
parent 3e27d6954b
commit dfc74bf921
+1 -1
View File
@@ -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)