Теперь тэг <p> тоже делает перевод на новую строку...
This commit is contained in:
parent
664bc8df76
commit
4d38338506
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ func CreateToot(mastoClient mastodon.Client, newsDesc *gofeed.Item, sensitive bo
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
case "br":
|
case "br", "p":
|
||||||
tootText += "\n"
|
tootText += "\n"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue