mootools / mootools-core

MooTools Core Repository
https://mootools.net
2.65k stars 511 forks source link

getTags(), stripTags() Bug #2782

Closed gerardomaranan closed 7 years ago

gerardomaranan commented 7 years ago

What happens:

"<b>Test</b><br>".stripTags("b") returns "Test" "<b>Test</b><br>".getTags("b") returns ["<b>", "</b>", "<br>"] This also happens with i and input tags.

I'm using version 1.2.