phpBB

Code Changes

File: phpbb/textformatter/s9e/renderer.php

  Unmodified   Added   Modified   Removed
Line 247Line 247
		$vars = array('renderer', 'xml');
extract($this->dispatcher->trigger_event('core.text_formatter_s9e_render_before', compact($vars)));


		$vars = array('renderer', 'xml');
extract($this->dispatcher->trigger_event('core.text_formatter_s9e_render_before', compact($vars)));


 
		$html = $this->renderer->render($xml);

		if (isset($this->censor) && $this->viewcensors)
{

		if (isset($this->censor) && $this->viewcensors)
{

			// NOTE: censorHtml() is XML-safe
$xml = $this->censor->censorHtml($xml, true);

			$html = $this->censor->censorHtml($html, true);


		}

		}


$html = $this->renderer->render($xml);

 

/**
* Modify a rendered text


/**
* Modify a rendered text