mirror of
https://github.com/maaslalani/slides.git
synced 2026-01-07 21:43:58 -05:00
Fixes maaslalani/slides#231 (#246)
This commit is contained in:
@@ -86,6 +86,8 @@ func (m *Model) Load() error {
|
||||
return err
|
||||
}
|
||||
|
||||
content = strings.ReplaceAll(content, "\r", "")
|
||||
|
||||
content = strings.TrimPrefix(content, strings.TrimPrefix(delimiter, "\n"))
|
||||
slides := strings.Split(content, delimiter)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user