[Rt-commit] rt branch, 4.4/custom-field-html-option, repushed

Craig Kaiser craig at bestpractical.com
Mon Apr 8 14:08:02 EDT 2019


The branch 4.4/custom-field-html-option was deleted and repushed:
       was 905b65e3df96d9a26cf1722548b6413930e753d5
       now c44e53a44b1da9934ac47d8b9f6735904942eea8

1: 905b65e3d ! 1: c44e53a44 Allow HTML to be escaped for custom fields on display
    @@ -141,7 +141,7 @@
      
      % $m->callback(CallbackName => 'BeforeEnabled', CustomField => $CustomFieldObj, CFvalidations => \@CFvalidations);
      
    -+% if ( grep { $CustomFieldObj->Type eq $_ } qw/Freeform Text/ ) {
    ++% if ( $CustomFieldObj->Type && grep { $CustomFieldObj->Type eq $_ } qw/Freeform Text/ ) {
     +    <tr><td class="label"> </td><td>
     +    <input type="hidden" class="hidden" name="SetEscapeHTML" value="1" />
     +    <input type="checkbox" class="checkbox" id="EscapeHTML" name="EscapeHTML" value="1" <% $EscapeHTMLChecked |n %> />



More information about the rt-commit mailing list