Skip to content

fix: hyperlink </a> 닫힘 + border type=NONE 필터 (20/40 일치)#207

Merged
ohah merged 2 commits intomainfrom
fix/layout-match-batch3
Mar 19, 2026
Merged

fix: hyperlink </a> 닫힘 + border type=NONE 필터 (20/40 일치)#207
ohah merged 2 commits intomainfrom
fix/layout-match-batch3

Conversation

@ohah
Copy link
Copy Markdown
Owner

@ohah ohah commented Mar 19, 2026

Summary

  • in_hyperlink 상태를 Run 간 공유 → FieldEnd가 다른 Run에 있을 때 </a> 누락 수정
  • HWPX parse_line_spec: type=NONE이면 None 반환 (불필요한 border 렌더링 방지)
  • simplify: 문단 끝 방어적 </a> 닫기 추가 (unclosed hyperlink 방지)

Result

HWP↔HWPX HTML 완전 일치: 20/40 fixtures (50%)

  • 신규 일치: hyperlink

Test plan

  • cargo test 전체 통과
  • /simplify 코드 리뷰 반영

🤖 Generated with Claude Code

ohah and others added 2 commits March 19, 2026 18:32
- in_hyperlink 상태를 Run 간 공유 (FieldEnd가 다른 Run에 있을 때 </a> 누락 수정)
- HWPX parse_line_spec: type=NONE이면 None 반환 (HWP 변환과 동일)
- hyperlink fixture 100% 일치 (20/40)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- in_hyperlink이 문단 끝까지 true이면 </a> 방어적 닫기
- parse_border_fills 테스트: type=NONE border가 None으로 바뀐 것 반영

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ohah ohah merged commit eafbf7f into main Mar 19, 2026
1 of 2 checks passed
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