mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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`.