original_string: protected function evalTextTypeValue($record, $column, $value)
      {
          if (is_array($value) && count($value) == count($value, COUNT_RECURSIVE)) {
              $value = implode(', ', $value);
          }
  
          if (is_string($column->format) && !empty($column->format)) {
              $value = sprintf($column->format, $value);
          }
  
          return htmlentities($value, ENT_QUOTES, 'UTF-8', false);
      }
code: protected function evalTextTypeValue($record, $column, $value)
      {
          if (is_array($value) && count($value) == count($value, COUNT_RECURSIVE)) {
              $value = implode(', ', $value);
          }
  
          if (is_string($column->format) && !empty($column->format)) {
              $value = sprintf($column->format, $value);
          }
  
          return htmlentities($value, ENT_QUOTES, 'UTF-8', false);
      }
code_tokens: protected function evalTextTypeValue ( $ record , $ column , $ value ) { if ( is_array ( $ value ) && count ( $ value ) == count ( $ value , COUNT_RECURSIVE ) ) { $ value = implode ( ', ' , $ value ) ; } if ( is_string ( $ column -> format ) && ! empty ( $ column -> format ) ) { $ value = sprintf ( $ column -> format , $ value ) ; } return htmlentities ( $ value , ENT_QUOTES , 'UTF-8' , false ) ; }
docstring: Process as text, escape the value
docstring_tokens: Process as text escape the value