From 7160bbeedead315a796cdb8b601a5859d5c3f4d7 Mon Sep 17 00:00:00 2001 From: "Fred K. Schott" Date: Mon, 18 Jul 2022 14:06:15 -0700 Subject: [PATCH] Revert "Removes trailing dash from generated slugs in markdown (#3044)" This reverts commit 8530cce14f9953e0e5d6b12807720e62b9b5cf1f. --- .changeset/cold-bears-sneeze.md | 5 ----- packages/markdown/remark/test/expressions.test.js | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 .changeset/cold-bears-sneeze.md diff --git a/.changeset/cold-bears-sneeze.md b/.changeset/cold-bears-sneeze.md deleted file mode 100644 index 483d87cd38..0000000000 --- a/.changeset/cold-bears-sneeze.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/markdown-remark': minor ---- - -fixed generated slugs in markdown that ends with a dash diff --git a/packages/markdown/remark/test/expressions.test.js b/packages/markdown/remark/test/expressions.test.js index 828f70561f..db351f9d80 100644 --- a/packages/markdown/remark/test/expressions.test.js +++ b/packages/markdown/remark/test/expressions.test.js @@ -54,7 +54,7 @@ describe('expressions', () => { chai .expect(code) .to.equal( - '

{ foo } is a shorthand for { foo: foo }

' + '

{ foo } is a shorthand for { foo: foo }

' ); });