]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix wrong markup in the typography base file 12338/head
authorTimothée Poisot <timothee.poisot@umontreal.ca>
Sat, 20 Nov 2021 23:05:31 +0000 (18:05 -0500)
committerGitHub <noreply@github.com>
Sat, 20 Nov 2021 23:05:31 +0000 (18:05 -0500)
docs/pages/typography-base.md

index 6f53e064a2996d969ad248b9fa132e9be09e40d2..3af923267c119df1c9129605e7ffe498f94d653f 100644 (file)
@@ -22,7 +22,7 @@ tags:
 This is a paragraph. Paragraphs are preset with a font size, line height and spacing to match the overall vertical rhythm. To show what a paragraph looks like this needs a little more content&mdash;so, did you know that there are storms occurring on Jupiter that are larger than the Earth? Pretty cool. Use the `<strong>` and `<em>` tags to denote text that should be displayed or read with emphasis. Browsers will **bold** and *italicize* the words, while screen readers will read them with *emphasis*.
 
 <div class="callout primary">
-  <p>If the emphasis of a phrase is important, don't make the emphasis purely visual&mdash;use the `<em>` or `<strong>` tags to mark it as well. Both of these tags have built-in styles, but there's no harm in adding additional styles in specific contexts.</p>
+  <p>If the emphasis of a phrase is important, don't make the emphasis purely visual&mdash;use the <code>&lt;em&gt;</code> or <code>&lt;strong&gt;</code> tags to mark it as well. Both of these tags have built-in styles, but there's no harm in adding additional styles in specific contexts.</p>
 </div>
 
 <div class="docs-codepen-container">