Fix: let quot stay. (#6377)

### What problem does this PR solve?

#6337

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Kevin Hu 2025-03-21 11:47:42 +08:00 committed by GitHub
parent 1bb990719e
commit b754bd523a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -117,7 +117,7 @@ class Template(ComponentBase):
r"\{%s\}" % re.escape(n), v, content
)
content = re.sub(
r"(\\\"|\")", "", content
r"(\\\")", "", content
)
content = re.sub(
r"(#+)", r" \1 ", content