Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions stubs/Markdown/markdown/util.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ from collections.abc import Iterator
from importlib import metadata
from re import Pattern
from typing import Final, Generic, TypedDict, TypeVar, overload, type_check_only
from xml.etree.ElementTree import Element

from markdown.core import Markdown

Expand Down Expand Up @@ -45,11 +46,11 @@ class _TagData(TypedDict):

class HtmlStash:
html_counter: int
rawHtmlBlocks: list[str]
rawHtmlBlocks: list[str | Element]
tag_counter: int
tag_data: list[_TagData]
def __init__(self) -> None: ...
def store(self, html: str) -> str: ...
def store(self, html: str | Element) -> str: ...
def reset(self) -> None: ...
def get_placeholder(self, key: int) -> str: ...
def store_tag(self, tag: str, attrs: dict[str, str], left_index: int, right_index: int) -> str: ...
Expand Down
Loading