Merge pull request #281 from josuecau/fix-jade

Jade: remove extra "/" after empty elements expansion
This commit is contained in:
mattn
2015-07-16 09:43:02 +09:00

View File

@@ -72,9 +72,6 @@ function! emmet#lang#jade#toString(settings, current, type, inline, filters, ite
let str .= '(' . tmp . ')'
end
endif
if stridx(','.settings.html.empty_elements.',', ','.current_name.',') != -1 && len(current.value) == 0
let str .= '/'
endif
let inner = ''
if len(current.value) > 0