-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
[Bug] Excerpt/Content helper don't work as expected #1591
Comments
In my opinion this is a bug in the helper, not in the docs. All attribute value pairs in our helpers should use quotes, the same as HTML - there should be no ambiguity as to whether you need quotes or not. The helper / downsize should correctly handle the attribute value and assume it is a number, not a string. |
Very yes |
Fair enough. The helper examples in the code were without quotes, that's why I assumed the docs were wrong. Gonna update my PR then. |
fixes TryGhost#1591 - Convert quoted strings to numbers - Update code examples - Update helper tests
Ooh good catch on the in-code docs 👍 |
Issue reported at TryGhost/Ghost#1591 and fixed at TryGhost/Ghost@d69e87b
Issue reported at TryGhost/Ghost#1591 and fixed at TryGhost/Ghost@d69e87b
Issue reported at TryGhost/Ghost#1591 and fixed at TryGhost/Ghost@d69e87b
See: https://ghost.org/forum/bugs-suggestions/3169-excerpt-characters-not-outputting-properly/
The text was updated successfully, but these errors were encountered: