Source for file Blockquote.php
Documentation is available at Blockquote.php
class Text_Wiki_Render_Creole_Blockquote extends Text_Wiki_Render {
var $css_stack = array ();
* Renders a token into text matching the requested format.
* @param array $options The "options" portion of the token (second
* @return string The text rendered from the token options.
if ($options['type'] == 'start') {
if (empty ($options['css'])) $options['css'] = '';
$this->wiki->registerRenderCallback (array (&$this, 'renderInsideText'));
if ($options['type'] == 'end') {
$this->wiki->popRenderCallback ();
function renderInsideText ($text) {
if (array_pop($this->css_stack) == 'remark') {
$text = preg_replace('/(^|\n)([\>\:]*) */', '\1:\2 ', $text);
$text = preg_replace('/(^|\n)([\>\:]*) */', '\1>\2 ', $text);
Documentation generated on Mon, 11 Mar 2019 15:40:30 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|