Browse Source

Удаление html-тегов из строки

master
envrm 8 years ago committed by GitHub
parent
commit
5dac333e61
  1. 2
      js/feminitives.js

2
js/feminitives.js

@ -420,7 +420,7 @@ function init(container) {
URL.parse(); URL.parse();
if (URL.opt.word) { if (URL.opt.word) {
HTML.input().value = URL.opt.word.replace(/\+/g," "); HTML.input().value = URL.opt.word.replace(/<\/?[^>]+(>|$)/g, "").replace(/\+/g," ");
tr(); tr();
} else { } else {
show_help(); show_help();

Loading…
Cancel
Save