$line) { $line = preg_replace('/^\s*%%%/', '', $line); $line = preg_replace('/%%%(\s*)\z/', '\1', $line); $text[$key] = $line; } if ($this->getEngine()->isTextMode()) { return implode('', $text); } return phutil_tag( 'p', array( 'class' => 'remarkup-literal', ), phutil_implode_html(phutil_tag('br', array()), $text)); } }