This commit is contained in:
Владимир Фёдоров 2026-02-28 23:57:21 +07:00
parent ead2657a22
commit 1d157f284d
6 changed files with 8 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -5,8 +5,8 @@
<link rel="icon" href="/favicon.ico"> <link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ВД Админка</title> <title>ВД Админка</title>
<script type="module" crossorigin src="/assets/index-C59ycnnN.js"></script> <script type="module" crossorigin src="/assets/index-DUE4ZM8J.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-DEYB0jfs.css"> <link rel="stylesheet" crossorigin href="/assets/index-DGkHi59B.css">
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>

File diff suppressed because one or more lines are too long

View File

@ -237,6 +237,9 @@ func formatText(text string) string {
res := "" res := ""
for i, line := range lines { for i, line := range lines {
l := strings.TrimSpace(line) l := strings.TrimSpace(line)
if i == 0 && strings.HasPrefix(l, "—") {
res += " "
}
if i > 0 { if i > 0 {
res += "\n" res += "\n"
if len(l) > 0 { if len(l) > 0 {