generated from VLADIMIR/template
fix
This commit is contained in:
@@ -237,6 +237,9 @@ func formatText(text string) string {
|
||||
res := ""
|
||||
for i, line := range lines {
|
||||
l := strings.TrimSpace(line)
|
||||
if i == 0 && strings.HasPrefix(l, "—") {
|
||||
res += " "
|
||||
}
|
||||
if i > 0 {
|
||||
res += "\n"
|
||||
if len(l) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user