diff options
| author | Joe Carstairs <me@joeac.net> | 2026-03-24 21:39:43 +0000 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-03-24 21:39:43 +0000 |
| commit | a79d485c93d2e5b6490b914359400470aae66565 (patch) | |
| tree | 4c501a5ec1bfffc630b46160ca8e868703cbb460 | |
| parent | 5c27d9c0eaa9c295bc28226d0941f55744dc3a09 (diff) | |
Revert "trim title off body if detected"
This reverts commit 5c27d9c0eaa9c295bc28226d0941f55744dc3a09.
| -rw-r--r-- | src/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts index c7dd0e7..48c140a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -83,7 +83,7 @@ export default function gemtext(config: GemtextConfig = {}): AstroIntegration { ) if (data["title"]) { - body = body.replace(`# ${data["title"]}\n`, ''); + body.replace(`# ${data["title"]}\n`, ''); body = body.trim(); } |
