]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Work around invalid generated HTML
authorXhmikosR <xhmikosr@gmail.com>
Mon, 2 Dec 2019 10:40:48 +0000 (12:40 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Sun, 15 Dec 2019 23:54:47 +0000 (01:54 +0200)
site/content/docs/4.3/components/modal.md
site/content/docs/4.3/components/navbar.md
site/content/docs/4.3/content/tables.md

index 06dda8d11dc0e1a16692bf08a7f6c3c1846911b6..15a3eeabf19805633b0622df5899c841af565e55 100644 (file)
@@ -727,7 +727,6 @@ Our default modal without modifier class constitutes the "medium" size modal.
 <div class="modal fade bd-example-modal-xl" tabindex="-1" role="dialog" aria-labelledby="myExtraLargeModalLabel" aria-hidden="true">
   <div class="modal-dialog modal-xl" role="document">
     <div class="modal-content">
-
       <div class="modal-header">
         <h5 class="modal-title h4" id="myExtraLargeModalLabel">Extra large modal</h5>
         <button type="button" class="close" data-dismiss="modal" aria-label="Close">
@@ -744,7 +743,6 @@ Our default modal without modifier class constitutes the "medium" size modal.
 <div class="modal fade bd-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
   <div class="modal-dialog modal-lg" role="document">
     <div class="modal-content">
-
       <div class="modal-header">
         <h5 class="modal-title h4" id="myLargeModalLabel">Large modal</h5>
         <button type="button" class="close" data-dismiss="modal" aria-label="Close">
index 00c37c5949ff05c00e41934cb79278b1530bc35f..5b6e9b93aa30a09d8ddc3def645da3086037bf0f 100644 (file)
@@ -325,7 +325,6 @@ Theming the navbar has never been easier thanks to the combination of theming cl
       <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarColor01" aria-controls="navbarColor01" aria-expanded="false" aria-label="Toggle navigation">
         <span class="navbar-toggler-icon"></span>
       </button>
-
       <div class="collapse navbar-collapse" id="navbarColor01">
         <ul class="navbar-nav mr-auto">
           <li class="nav-item active">
@@ -355,7 +354,6 @@ Theming the navbar has never been easier thanks to the combination of theming cl
       <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarColor02" aria-controls="navbarColor02" aria-expanded="false" aria-label="Toggle navigation">
         <span class="navbar-toggler-icon"></span>
       </button>
-
       <div class="collapse navbar-collapse" id="navbarColor02">
         <ul class="navbar-nav mr-auto">
           <li class="nav-item active">
@@ -385,7 +383,6 @@ Theming the navbar has never been easier thanks to the combination of theming cl
       <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarColor03" aria-controls="navbarColor03" aria-expanded="false" aria-label="Toggle navigation">
         <span class="navbar-toggler-icon"></span>
       </button>
-
       <div class="collapse navbar-collapse" id="navbarColor03">
         <ul class="navbar-nav mr-auto">
           <li class="nav-item active">
index e508d517d6a6f1cc30576fdbe4fac318034f0885..cbbe8d69025d9dac92015cfb78b7ba66e53b1926 100644 (file)
@@ -457,16 +457,15 @@ Use contextual classes to color table rows or individual cells.
         <td>Cell</td>
         <td>Cell</td>
       </tr>
-
-      {{< table.inline >}}
-      {{- range (index $.Site.Data "theme-colors") }}
+{{< table.inline >}}
+  {{- range (index $.Site.Data "theme-colors") }}
       <tr class="table-{{ .name }}">
         <th scope="row">{{ .name | title }}</th>
         <td>Cell</td>
         <td>Cell</td>
       </tr>
-      {{- end -}}
-      {{< /table.inline >}}
+  {{- end -}}
+{{< /table.inline >}}
     </tbody>
   </table>
 </div>