| Issue 18: | paragraphs with only non-latin symbols are deleted | |
| 1 person starred this issue and may be notified of changes. | Back to list |
function cleanup contains next routine: source = source.replace(/<p>\W*<\/p>/g, ''); this will delete all paragraphs without latin symbols, numbers, underscore(following to meaning of "\W"). for example, it'll delete next paragraph: <p>текст на русском языке</p> |