You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What to do about stripTags? I only see a chance to enhance it or to drop it and separate packages can do the job. IMHO the stripTags() approach is broken by design, since an application should normally escape the user input and not call strip tags, since a user might want to display for some reason.
As an alternative I suggest to port striptags to ringo/utils/strings. It's MIT-based license is compatible with Ringo's Apache License.
The text was updated successfully, but these errors were encountered:
There are a lot of references why the current regex is insufficient to strip tags from a string:
What to do about stripTags? I only see a chance to enhance it or to drop it and separate packages can do the job. IMHO the stripTags() approach is broken by design, since an application should normally escape the user input and not call strip tags, since a user might want to display for some reason.
As an alternative I suggest to port striptags to ringo/utils/strings. It's MIT-based license is compatible with Ringo's Apache License.
The text was updated successfully, but these errors were encountered: