Skip to content

Commit 12ce55b

Browse files
authored
Merge pull request #1739 from hydephp/1730-typography-fixtures-should-use-class-instead-of-classname
Update test fixtures to use "class" instead of "className"
2 parents 3c7939b + 26cd19a commit 12ce55b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/fixtures/_posts/typography-front-matter.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ image:
2121

2222
<!-- Fixture from https://github.com/tailwindlabs/tailwindcss-typography/blob/master/demo/components/MarkdownSampleShort.mdx, licensed under the MIT license. -->
2323

24-
<p className="lead">
24+
<p class="lead">
2525
Until now, trying to style an article, document, or blog post with Tailwind has been a very
2626
tedious task.
2727
</p>
@@ -30,7 +30,7 @@ The `@tailwindcss/typography` plugin is our attempt to give you what you _actual
3030

3131
> Why is Tailwind removing the default styles on my `h1` elements? How do I disable this? What do you mean I lose all the other base styles too?
3232
33-
<div className="not-prose">
33+
<div class="not-prose">
3434
<h2>Shouldn't be colored</h2>
3535
</div>
3636

tests/fixtures/_posts/typography-simple.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: A TailwindCSS Typography demo with little front matter.
77

88
<!-- Fixture from https://github.com/tailwindlabs/tailwindcss-typography/blob/master/demo/components/MarkdownSampleShort.mdx, licensed under the MIT license. -->
99

10-
<p className="lead">
10+
<p class="lead">
1111
Until now, trying to style an article, document, or blog post with Tailwind has been a very
1212
tedious task.
1313
</p>
@@ -16,7 +16,7 @@ The `@tailwindcss/typography` plugin is our attempt to give you what you _actual
1616

1717
> Why is Tailwind removing the default styles on my `h1` elements? How do I disable this? What do you mean I lose all the other base styles too?
1818
19-
<div className="not-prose">
19+
<div class="not-prose">
2020
<h2>Shouldn't be colored</h2>
2121
</div>
2222

0 commit comments

Comments
 (0)