Skip to content

Commit 0a7e3e6

Browse files
committed
Feat: publish 값을 원본 그대로 가져옴(한글과 공백 지원)
1 parent 777a611 commit 0a7e3e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/sync-notes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ def process_note(md_file: Path, relative_path: Optional[str] = None):
134134
print(f"⏸️ 건너뜀: {md_file.name} (publish 필드 없음)")
135135
return
136136

137-
# 안전한 경로 생성
138-
safe_publish = re.sub(r"[^a-zA-Z0-9/._-]", "", publish)
137+
# 안전한 경로 생성 - 원본 그대로 유지 (한글, 공백 포함)
138+
safe_publish = publish
139139
post_dir = Path(tmp_post_dir) / safe_publish
140140
img_dir = Path(tmp_img_dir) / safe_publish
141141
post_dir.mkdir(parents=True, exist_ok=True)

0 commit comments

Comments
 (0)