Changeset 364
- Timestamp:
- 09/30/05 08:14:36 (8 years ago)
- Files:
-
- 1 modified
-
trunk/plugins/SuperClean/super-clean.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/SuperClean/super-clean.js
r363 r364 106 106 'remove_faces': HTMLArea._lc('Remove custom typefaces (font "styles").', 'SuperClean'), 107 107 'remove_sizes': HTMLArea._lc('Remove custom font sizes.', 'SuperClean'), 108 'remove_colors': HTMLArea._lc('Remove custom text colors.', 'SuperClean') 108 'remove_colors': HTMLArea._lc('Remove custom text colors.', 'SuperClean'), 109 'remove_lang': HTMLArea._lc('Remove lang attributes.', 'SuperClean') 109 110 //additional custom filters (defined in plugins/SuperClean/filters/word.js) 110 111 //'paragraph': 'remove paragraphs'}, … … 137 138 return(D); 138 139 }; 140 SuperClean.filterFunctions.remove_lang = function(D) 141 { 142 D = D.replace(/lang="?[^" >]*"?/gi, ''); 143 return(D); 144 }; 139 145 SuperClean.filterFunctions.word_clean = function(html, editor) 140 146 {
