forked from VimPlug/emmet-vim
Merge pull request #384 from hpate-omicron/patch-1
Fix #382 - Multiple class name expansion with Elm
This commit is contained in:
@@ -133,7 +133,7 @@ function! emmet#lang#elm#toString(settings, current, type, inline, filters, item
|
|||||||
if attr ==# 'id' && len(valtmp) > 0
|
if attr ==# 'id' && len(valtmp) > 0
|
||||||
let tmp .=', id "' . Val . '"'
|
let tmp .=', id "' . Val . '"'
|
||||||
elseif attr ==# 'class' && len(valtmp) > 0
|
elseif attr ==# 'class' && len(valtmp) > 0
|
||||||
let tmp .= ', class "' . substitute(Val, ' ', '.', 'g') . '"'
|
let tmp .= ', class "' . substitute(Val, '\.', ' ', 'g') . '"'
|
||||||
else
|
else
|
||||||
let tmp .= ', ' . attr . ' "' . Val . '"'
|
let tmp .= ', ' . attr . ' "' . Val . '"'
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user