Skip to content

Commit

Permalink
refactor: a 테그 스타일 추가 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
belljun3395 committed Jul 7, 2024
1 parent 43c1b3d commit ca5ac3d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ class ConvertDocumentService {
html.getElementsByTag("article").forEach {
it.attr("style", "max-width: 480px; font-size: 15px; line-height: 170%; font-weight: 400;")
}
html.getElementsByTag("a").forEach {
it.attr("style", "overflow: hidden; word-break: break-all;")
}
return html.body().html()
}
}

0 comments on commit ca5ac3d

Please sign in to comment.