diff --git a/utils/markdown.go b/utils/markdown.go index b9c1cc5..d557bad 100644 --- a/utils/markdown.go +++ b/utils/markdown.go @@ -97,7 +97,7 @@ func SaveUpdatedMarkdown(filepath string, frontmatter FrontMatter, content strin fileContent := string(fileBytes) fieldPatterns := map[string]string{ - "progress": `(?m)^progress: "(.*)%"$`, + "progress": `(?m)^progress: (.*)%$`, "episode": `(?m)^episode: "(.*)"$`, "date": `(?m)^date: "(.*)"$`, "rate": `(?m)^rate: (\d+\.?\d*)$`,