"; $replacement .= "\n "; $replacement .= '\n '; // XHTML compliance no Javascript text handling $replacement .= ""; $replacement .= JText::_('JLIB_HTML_CLOAKING'); $replacement .= "\n "; return $replacement; } /** * Convert encoded text * * @param string $text Text to convert * * @return string The converted text. * * @since 1.5 */ protected static function convertEncoding($text) { // Replace vowels with character encoding $text = str_replace('a', 'a', $text); $text = str_replace('e', 'e', $text); $text = str_replace('i', 'i', $text); $text = str_replace('o', 'o', $text); $text = str_replace('u', 'u', $text); return $text; } }