From ca1657e48e0ad85c3d7a69d331c00b6c55081c1d Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Fri, 3 Mar 2023 10:17:47 +0000 Subject: [PATCH] chore(plugins/tidy-html): add default to jsdoc param --- src/plugins/tidy-html/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/tidy-html/index.js b/src/plugins/tidy-html/index.js index 558e57c1c..cd2e3448e 100644 --- a/src/plugins/tidy-html/index.js +++ b/src/plugins/tidy-html/index.js @@ -17,8 +17,7 @@ async function plugin(server) { /** * @param {string} html - Valid HTML. * @param {object} options - Function config values. - * @param {string=} options.language - Set `lang` and `xml:lang` attributes of `` tag. - * Defaults to `en` if not set. + * @param {string} [options.language="en"] - Set `lang` and `xml:lang` attributes of `` tag. * @param {boolean=} options.removeAlt - Set `alt` attributes in `` tags to empty string if set to `true`. * Useful for sending to clinical systems where img tags are stripped from received documents * (i.e. TPP's SystmOne), and for screen reader users.