mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 19:38:24 +00:00
0e1d6151b9
When `SiteSetting.embed_truncate` is enabled (by default), the truncated string is mutatable and does not raise an error. However, when the setting is disabled, the `contents` string is frozen and immutable, and will raise a `FrozenError`.