Ticket #27391: wordcount-fix.27391.diff
| File wordcount-fix.27391.diff, 552 bytes (added by , 12 years ago) |
|---|
-
src/wp-admin/js/word-count.js
diff --git src/wp-admin/js/word-count.js src/wp-admin/js/word-count.js index 0c537ba..d28c106 100644
var wpWordCount; 5 5 6 6 settings : { 7 7 strip : /<[a-zA-Z\/][^<>]*>/g, // strip HTML tags 8 clean : /[0-9.(),;:!?%#$¿'"_+=\ \/-]+/g, // regexp to remove punctuation, etc.8 clean : /[0-9.(),;:!?%#$¿'"_+=\u2026\\/-]+/g, // regexp to remove punctuation, etc. 9 9 w : /\S\s+/g, // word-counting regexp 10 10 c : /\S/g // char-counting regexp for asian languages 11 11 },