Skip to content

Commit bb9ae69

Browse files
committed
Fix typing
1 parent 2cebc8e commit bb9ae69

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

telebot/formatting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ def hcite(content: str, escape: Optional[bool] = True, expandable: Optional[bool
373373
)
374374

375375

376-
def apply_html_entities(text: str, entities=None, custom_subs=None) -> str:
376+
def apply_html_entities(text: str, entities: Optional[List]=None, custom_subs: Optional[Dict[str, str]]=None) -> str:
377377
"""
378378
Apply HTML formatting to text based on provided entities.
379379
Handles nested and overlapping entities correctly.

0 commit comments

Comments
 (0)