diff --git a/doc/component.md b/doc/component.md
index 124b25a9..ea7328b4 100644
--- a/doc/component.md
+++ b/doc/component.md
@@ -75,7 +75,7 @@ widgets:
```xml
some text
-
+
```
@@ -100,7 +100,7 @@ root widget element.
```xml
-
+
```
@@ -112,7 +112,7 @@ class that need to be removed. This is why we only support the explicit syntax
with a class object:
```js
-
+
```