-
Notifications
You must be signed in to change notification settings - Fork 965
New issue
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
striptags seem to no longer work #286
Comments
I'm not sure if this is a version change thing, but from the looks of what you're trying to do here—using |
I think so too, |
Cool! I try that. I'm wondering, would it be more ergonomic to have |
Not sure about that, I'm not a big fan of implicit behaviours |
Yeah, verbosity is probably more important than ergonomics here. Just because there isn't a specific use case now (or at least not one off the top of my head), no doubt someone in the future is going to find it. When that happens it's something that'll need to be separated or split off into another function or a similar extension akin to A better solution (if you think it's needed) would be extending the documentation so if others come up against the issue they won't get stuck. |
Fair enough. However, I can't imagine a use-case now or in the future that would require |
I updated the docs in Keats/tera@1f64ef4 that will be published for the next Tera release |
I was in the process of updating a theme from using 0.2.2 to 0.3.3.
Version 0.2.2
Version 0.3.3
Both have this code:
However, it seems as though 0.3.3 doesn't strip tags. This doesn't work either:
The text was updated successfully, but these errors were encountered: