Merge pull request #384 from hpate-omicron/patch-1

Fix #382 - Multiple class name expansion with Elm
This commit is contained in:
mattn
2017-08-21 10:57:21 +09:00
committed by GitHub

View File

@@ -133,7 +133,7 @@ function! emmet#lang#elm#toString(settings, current, type, inline, filters, item
if attr ==# 'id' && len(valtmp) > 0
let tmp .=', id "' . Val . '"'
elseif attr ==# 'class' && len(valtmp) > 0
let tmp .= ', class "' . substitute(Val, ' ', '.', 'g') . '"'
let tmp .= ', class "' . substitute(Val, '\.', ' ', 'g') . '"'
else
let tmp .= ', ' . attr . ' "' . Val . '"'
endif