Skip to content

Commit

Permalink
Merge pull request #384 from hpate-omicron/patch-1
Browse files Browse the repository at this point in the history
Fix #382 - Multiple class name expansion with Elm
  • Loading branch information
mattn committed Aug 21, 2017
2 parents 71c68c2 + 4b4e68a commit ed79a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/emmet/lang/elm.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ed79a92

Please sign in to comment.