diff --git a/utils/markdown.go b/utils/markdown.go index 411afd9..7d3a40f 100644 --- a/utils/markdown.go +++ b/utils/markdown.go @@ -106,7 +106,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*)$`,