mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-15 00:40:40 -07:00
The argument `truncate_string` is now coerced into a string to avoid `NoMethodError`s. This is mostly for added resiliency. It is doubtful that someone would actually intent to use a number as truncate string, but accidentally supplying one is entirely possible.