format unordered lists from plain text statuses

This commit is contained in:
Dan Anglin 2024-07-08 20:19:14 +01:00
parent fa2c75ebca
commit 5adba0e2f8
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638

View file

@ -32,7 +32,7 @@ func (p Printer) wrapLines(text string, nIndent int) string {
extraIndentConditions := []extraIndentConditiion{
{
pattern: regexp.MustCompile(`^` + symbolBullet + `\s.*$`),
pattern: regexp.MustCompile(`^[-*` + symbolBullet + `]\s.*$`),
indent: " ",
},
{