From ca5ac3d3c5c775de162c520c561a93195f36df74 Mon Sep 17 00:00:00 2001 From: belljun3395 <195850@jnu.ac.kr> Date: Sun, 7 Jul 2024 14:56:37 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20a=20=ED=85=8C=EA=B7=B8=20=EC=8A=A4?= =?UTF-8?q?=ED=83=80=EC=9D=BC=20=EC=B6=94=EA=B0=80=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/few/storage/document/service/ConvertDocumentService.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/storage/src/main/kotlin/com/few/storage/document/service/ConvertDocumentService.kt b/storage/src/main/kotlin/com/few/storage/document/service/ConvertDocumentService.kt index ef58012a9..f05d2c9e3 100644 --- a/storage/src/main/kotlin/com/few/storage/document/service/ConvertDocumentService.kt +++ b/storage/src/main/kotlin/com/few/storage/document/service/ConvertDocumentService.kt @@ -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() } } \ No newline at end of file