We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, first of all, thanks a lot, this package is pretty cool. I found something that is, apparently, an error.
on the docs, it is saying that:
ex = '<a href="https://example.com">' + 'lorem ipsum <strong>dolor</strong> <em>sit</em> amet' + '</a>' "<a href="https://example.com">lorem ipsum <strong>dolor</strong> <em>sit</em> amet</a>" stripTags(ex, [], '\n');
would yield:
lorem ipsum dolor sit amet
The result, though, is this:
basically, if I'm not seeing anything weirdly, the problem is that striptags is substituting both the opening and the closing tag...
The text was updated successfully, but these errors were encountered:
You are correct! That is expected, although the documentation being wrong is not :)
I'll update the README. Thanks!
Sorry, something went wrong.
27a5dd9
No branches or pull requests
Hi,
first of all, thanks a lot, this package is pretty cool.
I found something that is, apparently, an error.
on the docs, it is saying that:
would yield:
The result, though, is this:
basically, if I'm not seeing anything weirdly, the problem is that striptags is substituting both the opening and the closing tag...
The text was updated successfully, but these errors were encountered: