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

Loading…
Cancel
Save