Exception: Docsmith::InvalidHtmlSanitizer
- Defined in:
- lib/docsmith/errors.rb
Overview
Raised when configuration.html_sanitizer is neither nil, :unsafe_raw, nor callable. Fails loudly rather than falling back, so a misconfigured sanitizer can never silently degrade into rendering untrusted HTML verbatim.