fixed problem that link:css does not become 'link' in php. however it should not be removed in xsl/xml.

This commit is contained in:
mattn
2010-03-16 18:37:43 +09:00
parent 06130914c6
commit 5fb57a28d3
2 changed files with 10 additions and 7 deletions

View File

@@ -864,6 +864,9 @@ function! s:zen_use_filter(filters, filter)
endfunction
function! s:zen_is_extends(type, extend)
if a:type == a:extend
return 1
endif
if !has_key(s:zen_settings, a:type)
return 0
endif
@@ -962,7 +965,7 @@ function! s:zen_parseIntoTree(abbr, type)
endfor
endfor
endif
if s:zen_is_extends(type, 'html')
if has_key(s:zen_settings.html.default_attributes, current.name)
let current.name = substitute(current.name, ':.*$', '', '')
endif
break