Skip to content

Commit

Permalink
Merge pull request #1 from taybin/patch-1
Browse files Browse the repository at this point in the history
use function! instead of function
  • Loading branch information
skwp committed Sep 12, 2012
2 parents 0d673be + 852facd commit 291f95e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/htmlescape.vim
@@ -1,11 +1,11 @@
" via: http://vim.wikia.com/wiki/HTML_entities
function HtmlEscape()
function! HtmlEscape()
silent s/&/\&/eg
silent s/</\&lt;/eg
silent s/>/\&gt;/eg
endfunction

function HtmlUnEscape()
function! HtmlUnEscape()
silent s/&lt;/</eg
silent s/&gt;/>/eg
silent s/&amp;/\&/eg
Expand Down

0 comments on commit 291f95e

Please sign in to comment.