Skip to content

Commit 6045c95

Browse files
authored
docs: correct default value of warnHtmlMessage (#2228)
* docs: correct default value of warnHtmlMessage * docs: update other occurrences of warnHtmlMessage for consistency
1 parent 5a918d6 commit 6045c95

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/api/composition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1468,7 +1468,7 @@ See the warnHtmlMessage property.
14681468

14691469
**Default Value**
14701470

1471-
`'off'`
1471+
`true`
14721472

14731473
**See Also**
14741474
- [HTML Message](../guide/essentials/syntax#html-message)

packages/vue-i18n-core/src/composer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ export interface ComposerOptions<
470470
* @VueI18nSee [HTML Message](../../guide/essentials/syntax#html-message)
471471
* @VueI18nSee [Change `warnHtmlInMessage` option default value](../../guide/migration/breaking#change-warnhtmlinmessage-option-default-value)
472472
*
473-
* @defaultValue `'off'`
473+
* @defaultValue `true`
474474
*/
475475
warnHtmlMessage?: boolean
476476
/**

0 commit comments

Comments
 (0)