diff options
author | XhmikosR <xhmikosr@gmail.com> | 2022-10-26 08:37:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-26 08:37:04 +0300 |
commit | a7a2253507ccaf606eb18878229c5bc4c0d9087b (patch) | |
tree | 96d59933a3c95bfd1084316d10ae31b7cdd49416 | |
parent | aa9d32dd153ed16943ad8be5e8795afaad24d0cf (diff) |
docs: remove moot newlines (#37379)
-rw-r--r-- | site/content/docs/5.2/utilities/borders.md | 1 | ||||
-rw-r--r-- | site/layouts/shortcodes/placeholder.html | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/site/content/docs/5.2/utilities/borders.md b/site/content/docs/5.2/utilities/borders.md index 60be796d9a..631df172ae 100644 --- a/site/content/docs/5.2/utilities/borders.md +++ b/site/content/docs/5.2/utilities/borders.md @@ -140,7 +140,6 @@ Use the scaling classes for larger or smaller rounded corners. Sizes range from {{< /example >}} {{< example class="bd-example-rounded-utils" >}} - {{< placeholder width="75" height="75" class="rounded-bottom-1" title="Example small rounded image" >}} {{< placeholder width="75" height="75" class="rounded-start-2" title="Example default left rounded image" >}} {{< placeholder width="75" height="75" class="rounded-end-circle" title="Example right completely round image" >}} diff --git a/site/layouts/shortcodes/placeholder.html b/site/layouts/shortcodes/placeholder.html index 9c915bcd6f..7c65bf00bf 100644 --- a/site/layouts/shortcodes/placeholder.html +++ b/site/layouts/shortcodes/placeholder.html @@ -29,7 +29,6 @@ {{- $markup := .Get "markup" | default "svg" -}} - {{- if eq $markup "img" -}} <img class="bd-placeholder-img{{ with $class }} {{ . }}{{ end }}" alt="{{ $title }} : {{ $text }}" width="{{ $width }}" height="{{ $height }}" src="data:image/svg+xml,%3Csvg%20style='font-size:%201.125rem;%20font-family:system-ui,-apple-system,%22Segoe%20UI%22,Roboto,%22Helvetica%20Neue%22,%22Noto%20Sans%22,%22Liberation%20Sans%22,Arial,sans-serif,%22Apple%20Color%20Emoji%22,%22Segoe%20UI%20Emoji%22,%22Segoe%20UI%20Symbol%22,%22Noto%20Color%20Emoji%22;%20-webkit-user-select:%20none;%20-moz-user-select:%20none;%20user-select:%20none;%20text-anchor:%20middle;'%20width='200'%20height='200'%20xmlns='http://www.w3.org/2000/svg'%3E {{- if $show_title }}%3Ctitle%3E{{ $title }}%3C/title%3E{{ end -}} |