From: Julien Déramond Date: Tue, 5 Jul 2022 11:45:30 +0000 (+0200) Subject: Docs: fix some ScrollSpy HTML copyable codes (#36672) X-Git-Tag: v5.2.0~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=547aa099ead7e4fa1ee99efedf44fbf346bb8394;p=thirdparty%2Fbootstrap.git Docs: fix some ScrollSpy HTML copyable codes (#36672) --- diff --git a/site/content/docs/5.2/components/scrollspy.md b/site/content/docs/5.2/components/scrollspy.md index be2564e6ef..abbb596dfe 100644 --- a/site/content/docs/5.2/components/scrollspy.md +++ b/site/content/docs/5.2/components/scrollspy.md @@ -162,53 +162,55 @@ Scrollspy also works with nested `.nav`s. If a nested `.nav` is `.active`, its p ```html -
-
+ -
-
-
-

Item 1

-

...

-
-
-
Item 1-1
-

...

-
-
-
Item 1-2
-

...

-
-
-

Item 2

-

...

-
-
-

Item 3

-

...

-
-
-
Item 3-1
-

...

-
-
-
Item 3-2
-

...

+
+
+
+

Item 1

+

...

+
+
+
Item 1-1
+

...

+
+
+
Item 1-2
+

...

+
+
+

Item 2

+

...

+
+
+

Item 3

+

...

+
+
+
Item 3-1
+

...

+
+
+
Item 3-2
+

...

+
@@ -244,24 +246,26 @@ Scrollspy also works with `.list-group`s. Scroll the area next to the list group
```html -
-
- Item 1 - Item 2 - Item 3 - Item 4 +
+
+
-
-
-
-

Item 1

-

...

-

Item 2

-

...

-

Item 3

-

...

-

Item 4

-

...

+
+
+

Item 1

+

...

+

Item 2

+

...

+

Item 3

+

...

+

Item 4

+

...

+
``` @@ -299,27 +303,29 @@ Scrollspy is not limited to nav components and list groups, so it will work on a
```html -
-
- Item 1 - Item 2 - Item 3 - Item 4 - Item 5 +
+
+
-
-
-
-

Item 1

-

...

-

Item 2

-

...

-

Item 3

-

...

-

Item 4

-

...

-

Item 5

-

...

+
+
+

Item 1

+

...

+

Item 2

+

...

+

Item 3

+

...

+

Item 4

+

...

+

Item 5

+

...

+
```