From 0785ed06b89a60d6df673504d84e276852017c92 Mon Sep 17 00:00:00 2001 From: MDN Web Docs GitHub Bot <108879845+mdn-bot@users.noreply.github.com> Date: Wed, 15 Jan 2025 01:27:29 +0100 Subject: [PATCH] fix: auto-cleanup by bot (#37655) chore: auto-fix Markdownlint, Prettier, and front-matter issues --- files/en-us/web/css/attr/index.md | 2 +- files/en-us/web/javascript/guide/numbers_and_strings/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/en-us/web/css/attr/index.md b/files/en-us/web/css/attr/index.md index f905b3c24ffb9a5..f020515c40cc6d8 100644 --- a/files/en-us/web/css/attr/index.md +++ b/files/en-us/web/css/attr/index.md @@ -72,7 +72,7 @@ The parameters are: For [security reasons](#limitations_and_security) {{CSSxRef("<url>")}} is not allowed as a ``. - - The `` identifier specifies the unit a numeric value should have (if any). It can be the `%` character (percentage) or a [CSS distance unit](/docs/Web/CSS/CSS_Values_and_Units#distance_units) such as `px`, `rem`, `deg`, `s`, etc. + - The `` identifier specifies the unit a numeric value should have (if any). It can be the `%` character (percentage) or a [CSS distance unit](/en-US/docs/Web/CSS/CSS_Values_and_Units#distance_units) such as `px`, `rem`, `deg`, `s`, etc. ```css attr(data-size rem) diff --git a/files/en-us/web/javascript/guide/numbers_and_strings/index.md b/files/en-us/web/javascript/guide/numbers_and_strings/index.md index 8e79dcc06dde841..c54bb98603eb34a 100644 --- a/files/en-us/web/javascript/guide/numbers_and_strings/index.md +++ b/files/en-us/web/javascript/guide/numbers_and_strings/index.md @@ -372,7 +372,7 @@ The following methods are available on {{jsxref("String")}} values: - Decomposition: break a string into smaller strings. Methods include {{jsxref("String/split", "split()")}}, {{jsxref("String/slice", "slice()")}}, {{jsxref("String/substring", "substring()")}}, {{jsxref("String/substr", "substr()")}}, {{jsxref("String/trim", "trim()")}}, {{jsxref("String/trimStart", "trimStart()")}}, and {{jsxref("String/trimEnd", "trimEnd()")}}. - Transformation: return a new string based on the current string's content. Methods include {{jsxref("String/toLowerCase", "toLowerCase()")}}, {{jsxref("String/toUpperCase", "toUpperCase()")}}, {{jsxref("String/toLocaleLowerCase", "toLocaleLowerCase()")}}, {{jsxref("String/toLocaleUpperCase", "toLocaleUpperCase()")}}, {{jsxref("String/normalize", "normalize()")}}, and {{jsxref("String/toWellFormed", "toWellFormed()")}}. -When working with strings, there are two other objects that provide important functionality for string manipulation: {{jsxref("RegExp")}} and {{jsxref("Intl")}}. They are introduced in [regular expressions](/en-US/docs/Web/JavaScript/Guide/Regular_Expressions) and [internationalization](/en-US/docs/Web/JavaScript/Guide/Internationalization) respectively. +When working with strings, there are two other objects that provide important functionality for string manipulation: {{jsxref("RegExp")}} and {{jsxref("Intl")}}. They are introduced in [regular expressions](/en-US/docs/Web/JavaScript/Guide/Regular_expressions) and [internationalization](/en-US/docs/Web/JavaScript/Guide/Internationalization) respectively. ## Template literals