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
https://www.11ty.io/docs/filters/#universal-filters
The text was updated successfully, but these errors were encountered:
I had a quick play around with this in this branch: https://github.com/lewisnyman/eleventy-plugin-rss/tree/universal-filters
The problem is that the posthtml plugin that htmlToAbsoluteUrls filter relies on is async, and nunjucks is the almost the only templating language that supports asynchronous filters.
Sorry, something went wrong.
Just as a related reminder, we do have a section on the docs about how to use these filters in other template languages: https://www.11ty.dev/docs/plugins/rss/#use-with-other-template-languages-new-in-rss-1.1.0
I would note that the use of Nunjucks here does give us a nice safe autoescape feature that some other template languages don‘t provide 👀
(and async filters work in Liquid as of Eleventy 1.x—fwiw)
No branches or pull requests
https://www.11ty.io/docs/filters/#universal-filters
The text was updated successfully, but these errors were encountered: