Skip to content

fix: forward converter의 inline element open_sp 이중 공백을 방지합니다#887

Merged
jk-kim0 merged 2 commits intomainfrom
fix/forward-converter-strong-open-space
Mar 7, 2026
Merged

fix: forward converter의 inline element open_sp 이중 공백을 방지합니다#887
jk-kim0 merged 2 commits intomainfrom
fix/forward-converter-strong-open-space

Conversation

@jk-kim0
Copy link
Copy Markdown
Contributor

@jk-kim0 jk-kim0 commented Mar 6, 2026

Summary

  • <strong> 또는 <em> 내부 첫 글자가 Unicode punctuation(예: ")일 때, CommonMark flanking delimiter 규칙을 위해 open_sp를 추가하지만, 이전 텍스트가 이미 공백으로 끝나면 이중 공백이 발생하는 문제를 수정합니다.
  • close_sp에 적용된 동일한 이중 공백 방지 패턴(PR confluence-mdx: inline boundary/공백 관련 reverse-sync verify 실패 2건 수정 #857)을 open_sp에도 대칭 적용합니다.

재현

입력 XHTML: 상세 페이지에서 <strong>"Add Tags"</strong> 버튼
수정 전: 상세 페이지에서  **"Add Tags"** 버튼 (이중 공백)
수정 후: 상세 페이지에서 **"Add Tags"** 버튼 (단일 공백)

발견 경위

split/ko-proofread-20260221-administrator-manual-databases 브랜치의 reverse sync verify 중
data-paths 페이지(878805502)에서 교정 전후 round-trip 불일치로 발견.

Test plan

  • 기존 20개 인라인 공백 테스트 + 신규 3개 테스트 통과 (765 passed)
  • 이 FC 수정 후 data-paths 페이지의 **"Add Tags"** 이중 공백 verify 실패 해소 확인

🤖 Generated with Claude Code

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
querypie-docs Ready Ready Preview, Comment Mar 7, 2026 1:00pm

Request Review

jk-kim0 and others added 2 commits March 7, 2026 21:54
<strong> 또는 <em> 내부 첫 글자가 Unicode punctuation(예: `"`)일 때
CommonMark flanking delimiter 규칙을 위해 open_sp를 추가하지만,
이전 텍스트가 이미 공백으로 끝나는 경우 이중 공백이 발생하는 문제를
수정합니다.

close_sp에 적용된 동일한 패턴(PR #857)을 open_sp에도 대칭 적용합니다.

재현: `상세 페이지에서 <strong>"Add Tags"</strong>` → `에서  **"Add Tags"**`
기대: `에서 **"Add Tags"**` (단일 공백)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- 544379140 expected.mdx: 이중 공백 → 단일 공백, 여는 따옴표 U+2019→U+2018 수정
- expected.skel.mdx, expected.roundtrip.json, expected.html 재생성

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jk-kim0 jk-kim0 force-pushed the fix/forward-converter-strong-open-space branch from 20ad84e to 53f92b8 Compare March 7, 2026 12:56
@jk-kim0 jk-kim0 marked this pull request as ready for review March 7, 2026 13:06
@jk-kim0 jk-kim0 self-assigned this Mar 7, 2026
@jk-kim0 jk-kim0 merged commit fe5db3e into main Mar 7, 2026
7 checks passed
@jk-kim0 jk-kim0 deleted the fix/forward-converter-strong-open-space branch March 7, 2026 13:06
jk-kim0 added a commit that referenced this pull request Mar 8, 2026
Forward Converter의 open_sp 이중 공백 방지(#887)에 따라
영향받는 6개 KO MDX 파일을 재생성합니다.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
jk-kim0 added a commit that referenced this pull request Mar 8, 2026
## Description
- Forward Converter의 inline element `open_sp` 이중 공백 방지(#887) 병합에 따라 영향받는
MDX 파일을 재생성합니다.
- KO 6개 파일 재변환 후 EN 3개, JA 4개 파일에 동일 변경을 동기화합니다.
- 변경은 모두 `  **` (이중 공백) → ` **` (단일 공백)만 해당합니다.
- en/ja에 이미 이중 공백이 없는 파일(번역문 구조가 다른 경우)은 변경 대상에서 제외되었습니다.

## Added/updated tests?
- [x] No, and this is why: 문서 콘텐츠 변경만 해당하며 변환기 로직 변경 없음

## Additional notes
- 선행 PR: #887 (Forward Converter open_sp 이중 공백 방지)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant