original_string: public function parseMarkup()
      {
          $extension = strtolower(File::extension($this->fileName));
  
          switch ($extension) {
              case 'txt':
                  $result = htmlspecialchars($this->markup);
                  break;
              case 'md':
                  $result = Markdown::parse($this->markup);
                  break;
              default:
                  $result = $this->markup;
          }
  
          return $result;
      }
code: public function parseMarkup()
      {
          $extension = strtolower(File::extension($this->fileName));
  
          switch ($extension) {
              case 'txt':
                  $result = htmlspecialchars($this->markup);
                  break;
              case 'md':
                  $result = Markdown::parse($this->markup);
                  break;
              default:
                  $result = $this->markup;
          }
  
          return $result;
      }
code_tokens: public function parseMarkup ( ) { $ extension = strtolower ( File :: extension ( $ this -> fileName ) ) ; switch ( $ extension ) { case 'txt' : $ result = htmlspecialchars ( $ this -> markup ) ; break ; case 'md' : $ result = Markdown :: parse ( $ this -> markup ) ; break ; default : $ result = $ this -> markup ; } return $ result ; }
docstring: Parses the content markup according to the file type.
  @return string
docstring_tokens: Parses the content markup according to the file type .