From 9d80ed4b5dc44cedaf947d308ed1b5c01e1554fb Mon Sep 17 00:00:00 2001 From: anekos Date: Wed, 19 Aug 2009 13:08:43 +0000 Subject: fix a typo git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@34917 d0d07461-0603-4401-acd4-de1884942a52 --- copy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'copy.js') diff --git a/copy.js b/copy.js index 1a99511..9e3e3a5 100644 --- a/copy.js +++ b/copy.js @@ -153,7 +153,7 @@ const REPLACE_TABLE = { for (var i=0, c=selection.rangeCount; i/g function(all, close, tag, attr){ + return htmlse.replace(/<(\/)?(\w+)([\s\S]*?)>/g, function(all, close, tag, attr){ return "<" + close + tag.toLowerCase() + attr + ">"; }); }, -- cgit v1.2.3