* @var array
*/
protected $_params = array(
- 'charset' => null,
+ 'charset' => 'ISO-8859-1',
'width' => 70,
'wrap' => true
);
*/
public function preProcess($text)
{
- if (is_null($this->_params['charset'])) {
- $this->_params['charset'] = isset($GLOBALS['_HORDE_STRING_CHARSET']) ? $GLOBALS['_HORDE_STRING_CHARSET'] : 'ISO-8859-1';
- }
-
$this->_linkList = array();
-
return trim($text);
}
*/
protected $_params = array(
'callback' => 'Horde::externalUrl',
- 'charset' => null,
+ 'charset' => 'ISO-8859-1',
'class' => 'fixed',
'nofollow' => false,
'noprefetch' => false,
*/
public function preProcess($text)
{
- if (is_null($this->_params['charset'])) {
- $this->_params['charset'] = isset($GLOBALS['_HORDE_STRING_CHARSET'])
- ? $GLOBALS['_HORDE_STRING_CHARSET']
- : 'ISO-8859-1';
- }
-
/* Abort out on simple cases. */
if ($this->_params['parselevel'] == self::PASSTHRU) {
return $text;