aboutsummaryrefslogtreecommitdiffstats
path: root/copy.js
diff options
context:
space:
mode:
authorsuVene2009-09-01 16:07:14 +0000
committersuVene2009-09-01 16:07:14 +0000
commit91e986c5a02cb5a958057fa4a402a68d857a2f1b (patch)
tree705c96a42add65e064fd3608ef7c793b51e78f1e /copy.js
parentc33bbd5e71ad7703ba13ab35ef3b97ed14965442 (diff)
downloadvimperator-plugins-91e986c5a02cb5a958057fa4a402a68d857a2f1b.tar.bz2
fix a typo
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@35152 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'copy.js')
-rw-r--r--copy.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/copy.js b/copy.js
index 952f258..5b30f3e 100644
--- a/copy.js
+++ b/copy.js
@@ -8,7 +8,7 @@ var PLUGIN_INFO =
<updateURL>http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/copy.js</updateURL>
<author mail="teramako@gmail.com" homepage="http://vimperator.g.hatena.ne.jp/teramako/">teramako</author>
<license>MPL 1.1/GPL 2.0/LGPL 2.1</license>
-<version>0.7.4</version>
+<version>0.7.5</version>
<detail><![CDATA[
== Command ==
:copy {copyString}:
@@ -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 htmlsel.replace(/<(\/)?(\w+)([\s\S]*?)>/g, function(all, close, tag, attr){
return "<" + close + tag.toLowerCase() + attr + ">";
});
},