misc(seautils): soup
This commit is contained in:
parent
c06db07f08
commit
66b933569b
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ from redbot.core.utils.views import SimpleMenu
|
||||||
|
|
||||||
|
|
||||||
def md(soup: BeautifulSoup, **options) -> Any | str:
|
def md(soup: BeautifulSoup, **options) -> Any | str:
|
||||||
return MarkdownConverter(**options).convert_soup(soup)
|
return MarkdownConverter(**options).convert_soup(soup=soup)
|
||||||
|
|
||||||
def format_rfc_text(text: str, number: int) -> str:
|
def format_rfc_text(text: str, number: int) -> str:
|
||||||
one: str = re.sub(r"\(\.\/rfc(\d+)", r"(https://www.rfc-editor.org/rfc/rfc\1.html", text)
|
one: str = re.sub(r"\(\.\/rfc(\d+)", r"(https://www.rfc-editor.org/rfc/rfc\1.html", text)
|
||||||
|
|
Loading…
Reference in a new issue