From 037b6ce312bf5608d9dedfb7807a3e53e684e6e8 Mon Sep 17 00:00:00 2001 From: Andy Pan Date: Sun, 13 Aug 2023 15:56:29 +0800 Subject: [PATCH] docs: Fix a regression for a quoted-attribute example (#9103) * Fix a doc regression for a quoted-attribute example * Prettier ignore --------- Co-authored-by: Puru Vijay <47742487+PuruVJ@users.noreply.github.com> --- documentation/docs/02-template-syntax/02-basic-markup.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/documentation/docs/02-template-syntax/02-basic-markup.md b/documentation/docs/02-template-syntax/02-basic-markup.md index 9e230078b52c..dbdc55c060fd 100644 --- a/documentation/docs/02-template-syntax/02-basic-markup.md +++ b/documentation/docs/02-template-syntax/02-basic-markup.md @@ -56,8 +56,9 @@ All other attributes are included unless their value is [nullish](https://develo An expression might include characters that would cause syntax highlighting to fail in regular HTML, so quoting the value is permitted. The quotes do not affect how the value is parsed: + ```svelte - + ``` When the attribute name and value match (`name={name}`), they can be replaced with `{name}`.