Skip to content

Commit

Permalink
fix broken links
Browse files Browse the repository at this point in the history
  • Loading branch information
vasfvitor committed Dec 18, 2023
1 parent 25f9bc3 commit 2901781
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .changeset/shy-olives-count.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'prettier-plugin-astro': patch
---

Fix typo in CONTRIBUTING.md
Fix typo in `CONTRIBUTING.md` and fix broken links in `elements.ts`
4 changes: 2 additions & 2 deletions src/printer/elements.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export type TagName = keyof HTMLElementTagNameMap | 'svg';

// https://github.com/prettier/prettier/blob/main/vendors/html-void-elements.json
// https://github.com/prettier/prettier/blob/b77d912c0c1a5df85e3e9b5b192fc92523e411ee/vendors/html-void-elements.json
export const selfClosingTags = [
'area',
'base',
Expand Down Expand Up @@ -28,7 +28,7 @@ export const selfClosingTags = [
'wbr',
];

// https://developer.mozilla.org/en-US/docs/Web/HTML/Block-level_elements#Elements
// https://web.archive.org/web/20230108213516/https://developer.mozilla.org/en-US/docs/Web/HTML/Block-level_elements#elements
export const blockElements: TagName[] = [
'address',
'article',
Expand Down

0 comments on commit 2901781

Please sign in to comment.