3 class Text_Wiki_Render_Xhtml
extends Text_Wiki_Render
{
5 var $conf = array('translate' => HTML_ENTITIES
);
9 // attempt to translate HTML entities in the source before continuing.
10 $type = $this->getConf('translate', null
);
12 // are we translating html?
13 if ($type !== false
&& $type !== null
) {
15 // yes! get the translation table.
16 $xlate = get_html_translation_table($type);
18 // remove the delimiter character it doesn't get translated
19 unset($xlate[$this->wiki
->delim
]);
22 $this->wiki
->source
= strtr($this->wiki
->source
, $xlate);