Skip to content

Commit 6cff175

Browse files
authored
Update semantic-html-comparison.md
1 parent d682242 commit 6cff175

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/site/docs/verification/semantic-html-comparison.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Here are the customization options you have available to you:
4242

4343
```html
4444
<header>
45-
<h1 class:ignore="heading-1">Hello world</h1>
45+
<h1 class:ignore>Hello world</h1>
4646
</header>
4747
```
4848

@@ -100,4 +100,4 @@ Let’s look at a few examples where we use the semantic comparison options list
100100

101101
In this case, we want to verify that the markup is rendered correctly, using something such as RegEx to verify the `id` attribute (it might be generated) and ignoring the `<small>` element. In tests we can do this like so with the `MarkupMatches()` method:
102102

103-
[!code-csharp[SemanticHtmlTest.cs](../../../samples/tests/xunit/SemanticHtmlTest.cs#L16-L29)]
103+
[!code-csharp[SemanticHtmlTest.cs](../../../samples/tests/xunit/SemanticHtmlTest.cs#L16-L29)]

0 commit comments

Comments
 (0)