diff --git a/autoload/emmet/lang/html.vim b/autoload/emmet/lang/html.vim
index d88e2b0..968a55e 100644
--- a/autoload/emmet/lang/html.vim
+++ b/autoload/emmet/lang/html.vim
@@ -136,7 +136,7 @@ function! emmet#lang#html#parseIntoTree(abbr, type) abort
let snippet = substitute(snippet, '|', '${cursor}', 'g')
endif
" just redirect to expanding
- if snippet !~ '^\s*[{\[<]'
+ if type == 'html' && snippet !~ '^\s*[{\[<]'
return emmet#lang#html#parseIntoTree(snippet, a:type)
endif
let lines = split(snippet, "\n", 1)