mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-08 03:24:45 +08:00
removed whitespace removal behvavior for empty tags
This commit is contained in:
@@ -353,8 +353,6 @@ function! s:zen_toString_haml(settings, current, type, inline, filters, itemno,
|
|||||||
endif
|
endif
|
||||||
if stridx(','.settings.html.empty_elements.',', ','.current.name.',') != -1 && len(current.value) == 0
|
if stridx(','.settings.html.empty_elements.',', ','.current.name.',') != -1 && len(current.value) == 0
|
||||||
let str .= "/"
|
let str .= "/"
|
||||||
elseif stridx(','.settings.html.block_elements.',', ','.current.name.',') != -1 && (len(current.child) == 0 && len(current.value) == 0)
|
|
||||||
let str .= '<'
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let inner = ''
|
let inner = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user