bypassSecurityTrustHtml method

SafeHtml bypassSecurityTrustHtml(
  1. String? value
)

Bypass security and trust the given value to be safe HTML.

Only use this when the bound HTML is unsafe (e.g. contains <script> tags) and the code should be executed. The sanitizer will leave safe HTML intact, so in most situations this method should not be used.

WARNING: calling this method with untrusted user data will cause severe security bugs!

Implementation

SafeHtml bypassSecurityTrustHtml(String? value) => SafeHtml(value ?? '');