original_string: protected static function p(array $matches)
      {
          $line = $matches[1];
          $trimmed = trim($line);
  
          if (preg_match('/^<\/?(ul|ol|li|h|p|bl)/', $trimmed)) {
              return "\n$line\n";
          }
  
          return sprintf("\n<p>%s</p>\n", $trimmed);
      }
code: protected static function p(array $matches)
      {
          $line = $matches[1];
          $trimmed = trim($line);
  
          if (preg_match('/^<\/?(ul|ol|li|h|p|bl)/', $trimmed)) {
              return "\n$line\n";
          }
  
          return sprintf("\n<p>%s</p>\n", $trimmed);
      }
code_tokens: protected static function p ( array $ matches ) { $ line = $ matches [ 1 ] ; $ trimmed = trim ( $ line ) ; if ( preg_match ( '/^<\/?(ul|ol|li|h|p|bl)/' , $ trimmed ) ) { return "\n$line\n" ; } return sprintf ( "\n<p>%s</p>\n" , $ trimmed ) ; }
docstring: Renders "P" tag
  @param array $matches
  @return string
docstring_tokens: Renders P tag