42ad338 WebUI: Fix rendering of boolean_status_formatter

1 file Authored by carbenium 3 years ago, Committed by abbra 3 years ago,
    WebUI: Fix rendering of boolean_status_formatter
    
    With commit "WebUI: Apply jQuery patch to fix htmlPrefilter issue" (bc9f3e0557)
    jQuery's handling of self-closing elements.
    
    DOM before the above mentioned commit:
      <div name="nsaccountlock"><i class="fa fa-check"></i> Enabled</div>
    and after:
      <div name="nsaccountlock"><i class="fa fa-check"> Enabled</i></div>
    
    Explicitly closing the <i> element fixes the issue:
      <div name="nsaccountlock"><i class="fa fa-check"></i> Enabled</div>
    
    Fixes: https://pagure.io/freeipa/issue/8396
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>