diff --git a/README.md b/README.md
index e55b78c..584245d 100644
--- a/README.md
+++ b/README.md
@@ -39,7 +39,7 @@ You can also mix preprocessor languages in the component file:
 </style>
 
 <template lang="jade">
-h1(class="red") {{msg}}
+h1.red {{msg}}
 </template>
 
 <script lang="coffee">