From 0350c8a5e958da3c3b235c963c358399549d656e Mon Sep 17 00:00:00 2001 From: euspenskiy Date: Fri, 19 Jul 2024 11:47:48 +0300 Subject: [PATCH] Fix default for needToSanitizeHtml --- en/settings.md | 2 +- ru/settings.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/settings.md b/en/settings.md index 0d423e2..ae97ae1 100644 --- a/en/settings.md +++ b/en/settings.md @@ -16,6 +16,6 @@ Standard YFM settings are listed below. Depending on the tool you use, you can c | `disableLiquid` | Disable the use of variables | `bool` | `false` | | `supportGithubAnchors` | Generate additional [anchors](./syntax/base.md#headers) that are compatible with GitHub | `bool` | `false` | | `lang` | Localization language of default texts | `string` | `ru` | -`needToSanitizeHtml` | Need to sanitize the generated HTML | `bool` | `false` +`needToSanitizeHtml` | Need to sanitize the generated HTML | `bool` | `true` `sanitizeOptions` | Sanitizer configuration | `Object` | `undefined` `linkifyTlds` | Allow set tld for the linkify plugin | `string \| string[]` | `undefined` diff --git a/ru/settings.md b/ru/settings.md index 626c28f..d9782a9 100644 --- a/ru/settings.md +++ b/ru/settings.md @@ -15,6 +15,6 @@ `disableLiquid` | Отключить использование переменных | `bool` | `false` `supportGithubAnchors` | Генерировать дополнительные [якоря](./syntax/base.md#headers), совместимые с GitHub | `bool` | `false` `lang` | Язык локализации дефолтных текстов | `string` | `ru` -`needToSanitizeHtml` | Нужно ли санитайзить сгенерированный HTML | `bool` | `false` +`needToSanitizeHtml` | Нужно ли санитайзить сгенерированный HTML | `bool` | `true` `sanitizeOptions` | Конфигурация санитайзера | `Object` | `undefined` `linkifyTlds` | Настройка tld для плагина linkify | `string \| string[]` | `undefined` \ No newline at end of file