]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix typo in `JsDocs` and `ScssDocs` shortcodes comments
authorJulien Déramond <juderamond@gmail.com>
Tue, 1 Jul 2025 20:58:50 +0000 (22:58 +0200)
committerJulien Déramond <juderamond@gmail.com>
Tue, 1 Jul 2025 20:58:50 +0000 (22:58 +0200)
site/src/components/shortcodes/JsDocs.astro
site/src/components/shortcodes/ScssDocs.astro

index cf756af8c700c0a4cc3a116dbc07d014e8bde8cd..4430f21f885fac5ef6b17b0609bcb9d80b8344e9 100644 (file)
@@ -40,7 +40,7 @@ try {
 
   content = matches[1]
 
-  // Fix the identation by removing extra spaces at the beginning of each line
+  // Fix the indentation by removing extra spaces at the beginning of each line
   const lines = content.split('\n')
   const spaceCounts = lines.filter((line) => line.trim().length > 0).map((line) => line.match(/^ */)[0].length)
   const minSpaces = spaceCounts.length ? Math.min(...spaceCounts) : 0
index 6c267570eb3eae0918f4858d46e37d7f624469ae..4eaa8ca01f50ee826a5b89809232fccc2c8d22fb 100644 (file)
@@ -42,7 +42,7 @@ try {
 
   content = matches[1].replaceAll(' !default', '')
 
-  // Fix the identation by removing extra spaces at the beginning of each line
+  // Fix the indentation by removing extra spaces at the beginning of each line
   const lines = content.split('\n')
   const spaceCounts = lines.filter((line) => line.trim().length > 0).map((line) => line.match(/^ */)[0].length)
   const minSpaces = spaceCounts.length ? Math.min(...spaceCounts) : 0