From 222c509447ebd2074ce173da6a7ac9bb39828fe9 Mon Sep 17 00:00:00 2001 From: mattn Date: Mon, 12 Aug 2013 22:18:11 +0900 Subject: [PATCH] Fixes #140 --- autoload/emmet/lang/html.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/emmet/lang/html.vim b/autoload/emmet/lang/html.vim index 96ae8a4..6a47116 100644 --- a/autoload/emmet/lang/html.vim +++ b/autoload/emmet/lang/html.vim @@ -186,7 +186,7 @@ function! emmet#lang#html#parseIntoTree(abbr, type) if item[0] == '[' let atts = item[1:-2] while len(atts) - let amat = matchstr(atts, '\(\w\+\%(="[^"]*"\|=''[^'']*''\|[^ ''"\]]*\)\{0,1}\)') + let amat = matchstr(atts, '\([0-9a-zA-Z-:]\+\%(="[^"]*"\|=''[^'']*''\|[^ ''"\]]*\)\{0,1}\)') if len(amat) == 0 break endif