Skip to content

[DP-368] 히스토리 답변 미리보기 마크다운 제거#129

Merged
github-actions[bot] merged 1 commit intodevelopV2from
auto/fix/DP-368-history-answer-markdown
Apr 24, 2026
Merged

[DP-368] 히스토리 답변 미리보기 마크다운 제거#129
github-actions[bot] merged 1 commit intodevelopV2from
auto/fix/DP-368-history-answer-markdown

Conversation

@nYeonG4001
Copy link
Copy Markdown
Collaborator

Summary

  • HistoryItemResponse.of()에서 답변 미리보기 생성 시 MarkdownPreviewUtils.stripForPreview() 적용
  • 마크다운 문법(**bold**, `code`, 헤더, 링크 등)이 제거된 순수 텍스트로 반환
  • 기존 truncate(100자) 로직은 strip 이후에 적용

Test plan

  • 마크다운 포함 답변 → 문법 제거 후 반환 확인
  • strip 후 100자 초과 → "..." 잘림 처리 확인
  • answer null → answerInfo null 반환 확인
  • ./gradlew build --no-daemon 전체 통과

@github-actions github-actions Bot merged commit b61508e into developV2 Apr 24, 2026
2 checks passed
@sonarqubecloud
Copy link
Copy Markdown

@nYeonG4001 nYeonG4001 deleted the auto/fix/DP-368-history-answer-markdown branch April 24, 2026 02:04
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