fix
Browse files- posterbuilder/convert.py +1 -1
posterbuilder/convert.py
CHANGED
|
@@ -674,7 +674,7 @@ def build():
|
|
| 674 |
cleaned_tex = cleaned_tex.replace(r"\\\\", r"\\") # 避免双转义干扰
|
| 675 |
cleaned_tex = cleaned_tex.replace(r"\\", "\\") # 最终将 \\ → \
|
| 676 |
cleaned_tex = cleaned_tex.replace(r"\t\t", "\\t")
|
| 677 |
-
cleaned_tex = strip_stray_t(cleaned_tex)
|
| 678 |
|
| 679 |
OUTPUT_PATH.write_text(cleaned_tex, encoding="utf-8")
|
| 680 |
print(f"✅ Wrote: {OUTPUT_PATH.relative_to(ROOT_DIR)}")
|
|
|
|
| 674 |
cleaned_tex = cleaned_tex.replace(r"\\\\", r"\\") # 避免双转义干扰
|
| 675 |
cleaned_tex = cleaned_tex.replace(r"\\", "\\") # 最终将 \\ → \
|
| 676 |
cleaned_tex = cleaned_tex.replace(r"\t\t", "\\t")
|
| 677 |
+
# cleaned_tex = strip_stray_t(cleaned_tex)
|
| 678 |
|
| 679 |
OUTPUT_PATH.write_text(cleaned_tex, encoding="utf-8")
|
| 680 |
print(f"✅ Wrote: {OUTPUT_PATH.relative_to(ROOT_DIR)}")
|