Skip to content

Commit

Permalink
Merge pull request mattn#474 from petter/master
Browse files Browse the repository at this point in the history
Fixed classnames not allowing / and :
  • Loading branch information
grohiro committed Jul 30, 2021
2 parents 5f559fa + 7d383e5 commit a138862
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoload/emmet/lang/html.vim
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ let s:mx = '\([+>]\|[<^]\+\)\{-}'
\ .'\%('
\ .'\%(#{[{}a-zA-Z0-9_\-\$]\+\|#[a-zA-Z0-9_\-\$]\+\)'
\ .'\|\%(\[\%(\[[^\]]*\]\|"[^"]*"\|[^"\[\]]*\)\+\]\)'
\ .'\|\%(\.{[{}a-zA-Z0-9_\-\$\.]\+\|\.[a-zA-Z0-9_\-\$]\+\)'
\ .'\|\%(\.{[{}a-zA-Z0-9_\-\$/:\.]\+\|\.[a-zA-Z0-9_\-\$/:]\+\)'
\ .'\)*'
\ .'\)'
\ .'\%(\(' . s:bx . '\+\)\)\{0,1}'
Expand Down Expand Up @@ -265,7 +265,7 @@ function! emmet#lang#html#parseIntoTree(abbr, type) abort
if len(attributes)
let attr = attributes
while len(attr)
let item = matchstr(attr, '\(\%(\%(#[{}a-zA-Z0-9_\-\$]\+\)\|\%(\[\%(\[[^\]]*\]\|"[^"]*"\|[^"\[\]]*\)\+\]\)\|\%(\.[{}a-zA-Z0-9_\-\$]\+\)*\)\)')
let item = matchstr(attr, '\(\%(\%(#[{}a-zA-Z0-9_\-\$]\+\)\|\%(\[\%(\[[^\]]*\]\|"[^"]*"\|[^"\[\]]*\)\+\]\)\|\%(\.[{}a-zA-Z0-9_\-\$/:]\+\)*\)\)')
if g:emmet_debug > 1
echomsg 'attr=' . item
endif
Expand Down

0 comments on commit a138862

Please sign in to comment.