AI Update: اقدامات پیشنهادی رو انجام بده
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import os
|
||||
import sys
|
||||
import json
|
||||
import html
|
||||
import logging
|
||||
import asyncio
|
||||
import urllib.request
|
||||
@@ -12,6 +13,11 @@ from config import settings
|
||||
|
||||
logger = logging.getLogger("AGYGitManager")
|
||||
|
||||
def escape_html(text: str) -> str:
|
||||
if not text:
|
||||
return ""
|
||||
return html.escape(str(text), quote=False)
|
||||
|
||||
DEFAULT_GITIGNORE = """# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
|
||||
Reference in New Issue
Block a user