Changeset 34871
- Timestamp:
- 08/13/09 20:12:25 (4 years ago)
- Files:
-
- 1 modified
-
lang/javascript/vimperator-plugins/trunk/copy.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/vimperator-plugins/trunk/copy.js
r29860 r34871 9 9 <author mail="teramako@gmail.com" homepage="http://vimperator.g.hatena.ne.jp/teramako/">teramako</author> 10 10 <license>MPL 1.1/GPL 2.0/LGPL 2.1</license> 11 <version>0.7. 1</version>11 <version>0.7.2</version> 12 12 <detail><![CDATA[ 13 13 == Command == … … 154 154 htmlsel += serializer.serializeToString(selection.getRangeAt(i).cloneContents()); 155 155 } 156 return htmlsel; 156 return htmlsel.replace(/<(\/)?(\w+)(\s+[\s\S]*?)?>/g, function(all, close, tag, attr){ 157 return "<" + close + tag.toLowerCase() + attr + ">"; 158 }); 157 159 } 158 160 };
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)