Skip to content
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

widont not working when applied to the output of a Redactor field #31

Open
petehjfd opened this issue Jun 19, 2020 · 0 comments
Open

widont not working when applied to the output of a Redactor field #31

petehjfd opened this issue Jun 19, 2020 · 0 comments
Labels

Comments

@petehjfd
Copy link

I have a Redactor field containing multiple paragraphs. In the template I have:

{{ entry.body | widont }}

No   is being added anywhere.

If I replace the Redactor output with some hardcoded text, it works fine:

{{ 'This is a test' | widont }}

This outputs:

This is a test

Does something special need to be done when applying widont to the output of a Redactor field?

Thanks

@michaelrog michaelrog added the bug label Dec 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants