class Hanami::View::HTML::SafeString

A string that has been marked as “HTML safe”, ensuring that it is not automatically escaped when used in HTML view templates.

A SafeString is frozen when initialized to ensure it cannot be mutated after being marked as safe, which could be an avenue for injection of unsafe content.

@see String#html_safe

@api public @since 2.1.0