diff --git a/server/polar/article/service.py b/server/polar/article/service.py index 2a709c3599..98f91ccbcd 100644 --- a/server/polar/article/service.py +++ b/server/polar/article/service.py @@ -518,7 +518,7 @@ async def export( f"articles/{article.slug}/{match.group(2)}", await stream.aread(), ) - body = body.replace(match.group(0), f"./{match.group(2)}") + body = body.replace(match.group(0), f"./{match.group(2)})") frontmatter = f"""---\n{"\n".join(f"{k}: {v}" for k, v in frontmatter_dict.items())}\n---\n\n""" content = f"{frontmatter}{body}"