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,
The truncate_html filter is nice but is not predicable .
truncate_html
{{ 'abcdefghijkpqrstuvwxyz'|truncate_html(10) }} renders <p>abcdefghij...</p> while {{ 'abcdefghijkpqrstuvwxyz'|truncate_html(100) }} renders abcdefghijkpqrstuvwxyz
{{ 'abcdefghijkpqrstuvwxyz'|truncate_html(10) }}
<p>abcdefghij...</p>
{{ 'abcdefghijkpqrstuvwxyz'|truncate_html(100) }}
abcdefghijkpqrstuvwxyz
This is problematic as it will break html/layout depending on the string.
Cheers,
Olivier
The text was updated successfully, but these errors were encountered:
Confirmed
Sorry, something went wrong.
this closes #2432
8512968
No branches or pull requests
Hi,
The
truncate_html
filter is nice but is not predicable .{{ 'abcdefghijkpqrstuvwxyz'|truncate_html(10) }}
renders<p>abcdefghij...</p>
while
{{ 'abcdefghijkpqrstuvwxyz'|truncate_html(100) }}
rendersabcdefghijkpqrstuvwxyz
This is problematic as it will break html/layout depending on the string.
Cheers,
Olivier
The text was updated successfully, but these errors were encountered: