Sanitize / in kit-ipd heading hierarchy

This commit is contained in:
I-Al-Istannen
2025-10-30 20:19:30 +01:00
parent 3453bbc991
commit 3f5637366e
6 changed files with 33 additions and 33 deletions

View File

@@ -106,6 +106,10 @@ def fmt_real_path(path: Path) -> str:
return repr(str(path.absolute()))
def sanitize_path_name(name: str) -> str:
return name.replace("/", "-").replace("\\", "-").strip()
class ReusableAsyncContextManager(ABC, Generic[T]):
def __init__(self) -> None:
self._active = False