aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranekos2009-08-19 13:08:43 +0000
committeranekos2009-08-19 13:08:43 +0000
commit9d80ed4b5dc44cedaf947d308ed1b5c01e1554fb (patch)
tree23a98878eef2d9f4678c2698073f904de8335236
parent62d0f8ce9e904fc70e12afeade1c5cb53eb29904 (diff)
downloadvimperator-plugins-9d80ed4b5dc44cedaf947d308ed1b5c01e1554fb.tar.bz2
fix a typo
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@34917 d0d07461-0603-4401-acd4-de1884942a52
-rw-r--r--copy.js2
1 files changed, 1 insertions, 1 deletions
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<c; i++){
htmlsel += serializer.serializeToString(selection.getRangeAt(i).cloneContents());
}
- return htmlse.replace(/<(\/)?(\w+)([\s\S]*?)>/g function(all, close, tag, attr){
+ return htmlse.replace(/<(\/)?(\w+)([\s\S]*?)>/g, function(all, close, tag, attr){
return "<" + close + tag.toLowerCase() + attr + ">";
});
},