16 lines
428 B
Python
16 lines
428 B
Python
import asyncio
|
|
|
|
from doctype import START_FILE, END_FILE
|
|
|
|
|
|
async def check_tags(
|
|
content: str,
|
|
) -> str:
|
|
content = content.replace(START_FILE, "")
|
|
content = content.replace(END_FILE, "")
|
|
content = content.replace("h5", "h4")
|
|
content = content.replace("h3", "h4")
|
|
content = content.replace("h2", "h4")
|
|
content = content.replace("<img src=''", "img src='https://pressanybutton.ru'")
|
|
return content
|