Просмотр исходного кода

Replace ... with closing tag character (#2586)

Marc Würth 3 лет назад
Родитель
Сommit
484c4bd78b
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/docs/src/en/directives/data.md

+ 2 - 2
packages/docs/src/en/directives/data.md

@@ -110,13 +110,13 @@ Occasionally, you want to create an Alpine component, but you don't need any dat
 In these cases, you can always pass in an empty object.
 In these cases, you can always pass in an empty object.
 
 
 ```alpine
 ```alpine
-<div x-data="{}"...
+<div x-data="{}">
 ```
 ```
 
 
 However, if you wish, you can also eliminate the attribute value entirely if it looks better to you.
 However, if you wish, you can also eliminate the attribute value entirely if it looks better to you.
 
 
 ```alpine
 ```alpine
-<div x-data...
+<div x-data>
 ```
 ```
 
 
 <a name="single-element-components"></a>
 <a name="single-element-components"></a>