Skip to content

Commit b89caba

Browse files
authored
fix: duplicated id for some headings (vuejs#2066)
1 parent 5bb7094 commit b89caba

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/guide/essentials/forms.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Note that interpolation inside `<textarea>` won't work. Use `v-model` instead.
112112
<textarea v-model="text"></textarea>
113113
```
114114

115-
### Checkbox {#checkbox} {#checkbox}
115+
### Checkbox {#checkbox}
116116

117117
Single checkbox, boolean value:
118118

@@ -199,7 +199,7 @@ In this case, the `checkedNames` array will always contain the values from the c
199199

200200
</div>
201201

202-
### Radio {#radio} {#radio}
202+
### Radio {#radio}
203203

204204
```vue-html
205205
<div>Picked: {{ picked }}</div>

src/guide/scaling-up/testing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,13 @@ A component can be tested in two ways:
9797

9898
Tests that are "Blackbox tests" are unaware of the implementation details of a component. These tests mock as little as possible to test the integration of your component and the entire system. They usually render all child components and are considered more of an "integration test". See the [Component Testing recommendations](#component-testing) below.
9999

100-
### Recommendation {#recommendation} {#recommendation} {#recommendation}
100+
### Recommendation {#recommendation}
101101

102102
- [Vitest](https://vitest.dev/)
103103

104104
Since the official setup created by `create-vue` is based on [Vite](https://vitejs.dev/), we recommend using a unit testing framework that can leverage the same configuration and transform pipeline directly from Vite. [Vitest](https://vitest.dev/) is a unit testing framework designed specifically for this purpose, created and maintained by Vue / Vite team members. It integrates with Vite-based projects with minimal effort, and is blazing fast.
105105

106-
### Other Options {#other-options} {#other-options} {#other-options}
106+
### Other Options {#other-options}
107107

108108
- [Peeky](https://peeky.dev/) is another fast unit test runner with first-class Vite integration. It is also created by a Vue core team member and offers a GUI-based testing interface.
109109

0 commit comments

Comments
 (0)