original_string: public static function prepareQuote($post, $quote = '')
      {
          if (Podium::getInstance()->podiumConfig->get('use_wysiwyg') == '0') {
              $content = !empty($quote) ? '[...] ' . HtmlPurifier::process($quote) . ' [...]' : $post->content;
              return '> ' . $post->author->podiumTag . ' @ ' . Podium::getInstance()->formatter->asDatetime($post->created_at) . "\n> " . $content . "\n";
          }
          $content = !empty($quote) ? '[...] ' . nl2br(HtmlPurifier::process($quote)) . ' [...]' : $post->content;
          return Html::tag('blockquote', $post->author->podiumTag . ' @ ' . Podium::getInstance()->formatter->asDatetime($post->created_at) . '<br>' . $content) . '<br>';
      }
code: public static function prepareQuote($post, $quote = '')
      {
          if (Podium::getInstance()->podiumConfig->get('use_wysiwyg') == '0') {
              $content = !empty($quote) ? '[...] ' . HtmlPurifier::process($quote) . ' [...]' : $post->content;
              return '> ' . $post->author->podiumTag . ' @ ' . Podium::getInstance()->formatter->asDatetime($post->created_at) . "\n> " . $content . "\n";
          }
          $content = !empty($quote) ? '[...] ' . nl2br(HtmlPurifier::process($quote)) . ' [...]' : $post->content;
          return Html::tag('blockquote', $post->author->podiumTag . ' @ ' . Podium::getInstance()->formatter->asDatetime($post->created_at) . '<br>' . $content) . '<br>';
      }
code_tokens: public static function prepareQuote ( $ post , $ quote = '' ) { if ( Podium :: getInstance ( ) -> podiumConfig -> get ( 'use_wysiwyg' ) == '0' ) { $ content = ! empty ( $ quote ) ? '[...] ' . HtmlPurifier :: process ( $ quote ) . ' [...]' : $ post -> content ; return '> ' . $ post -> author -> podiumTag . ' @ ' . Podium :: getInstance ( ) -> formatter -> asDatetime ( $ post -> created_at ) . "\n> " . $ content . "\n" ; } $ content = ! empty ( $ quote ) ? '[...] ' . nl2br ( HtmlPurifier :: process ( $ quote ) ) . ' [...]' : $ post -> content ; return Html :: tag ( 'blockquote' , $ post -> author -> podiumTag . ' @ ' . Podium :: getInstance ( ) -> formatter -> asDatetime ( $ post -> created_at ) . '<br>' . $ content ) . '<br>' ; }
docstring: Returns quote HTML.
  @param Post $post post model to be quoted
  @param string $quote partial text to be quoted
  @return string
docstring_tokens: Returns quote HTML .