Skip to content

Commit 02761cd

Browse files
authored
Doc: fix blockquote mismatch (#41295)
* fix: blockquote mismatch in card Refs: #41292 * fix: blockquote mismatch in reboot Refs: #41292
1 parent 9c90c55 commit 02761cd

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

Diff for: site/content/docs/5.3/components/card.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,14 @@ Card headers can be styled by adding `.card-header` to `<h*>` elements.
173173
Quote
174174
</div>
175175
<div class="card-body">
176-
<blockquote class="blockquote mb-0">
177-
<p>A well-known quote, contained in a blockquote element.</p>
178-
<footer class="blockquote-footer">Someone famous in <cite title="Source Title">Source Title</cite></footer>
179-
</blockquote>
176+
<figure>
177+
<blockquote class="blockquote">
178+
<p>A well-known quote, contained in a blockquote element.</p>
179+
</blockquote>
180+
<figcaption class="blockquote-footer">
181+
Someone famous in <cite title="Source Title">Source Title</cite>
182+
</figcaption>
183+
</figure>
180184
</div>
181185
</div>
182186
{{< /example >}}

Diff for: site/content/docs/5.3/content/reboot.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -428,10 +428,14 @@ The `<address>` element is updated to reset the browser default `font-style` fro
428428
The default `margin` on blockquotes is `1em 40px`, so we reset that to `0 0 1rem` for something more consistent with other elements.
429429

430430
<div class="bd-example">
431-
<blockquote class="blockquote">
432-
<p>A well-known quote, contained in a blockquote element.</p>
433-
</blockquote>
434-
<p>Someone famous in <cite title="Source Title">Source Title</cite></p>
431+
<figure>
432+
<blockquote class="blockquote">
433+
<p>A well-known quote, contained in a blockquote element.</p>
434+
</blockquote>
435+
<figcaption>
436+
Someone famous in <cite title="Source Title">Source Title</cite>
437+
</figcaption>
438+
</figure>
435439
</div>
436440

437441
### Inline elements

0 commit comments

Comments
 (0)