Browse files

Fix missing </head> in textile.vim

  • Loading branch information...
1 parent 5d25629 commit 01508dc7ef13ea93945e1cc19fe90f5bdfb7533e @mcary mcary committed with Oct 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 ftplugin/textile.vim
View
2 ftplugin/textile.vim
@@ -24,7 +24,7 @@ endfunction
function! TextileRenderFile(lines, filename)
let html = TextileRender(getbufline(bufname("%"), 1, '$'))
- let html = "<html><head><title>" . bufname("%") . "</title><body>\n" . html . "\n</body></html>"
+ let html = "<html><head><title>" . bufname("%") . "</title></head><body>\n" . html . "\n</body></html>"
return writefile(split(html, "\n"), a:filename)
endfunction

0 comments on commit 01508dc

Please sign in to comment.