public function write(&$text)
    {
        $matches = array();

        if (preg_match_all('/<a(.*?)>/', $text, $matches)) {
            foreach ($matches[1] as $index => $match) {
                $attribs = $this->_parseAttributes($match);
                $attribs['style'] = 'color:#076da0;text-decoration:none';
                $attribs = AnHelperArray::toString($attribs);
                $text = str_replace($matches[0][$index], '<a '.$attribs.' >', $text);
            }
        }

        return $this;
    }
public function write(&$text)
    {
        $matches = array();

        if (preg_match_all('/<a(.*?)>/', $text, $matches)) {
            foreach ($matches[1] as $index => $match) {
                $attribs = $this->_parseAttributes($match);
                $attribs['style'] = 'color:#076da0;text-decoration:none';
                $attribs = AnHelperArray::toString($attribs);
                $text = str_replace($matches[0][$index], '<a '.$attribs.' >', $text);
            }
        }

        return $this;
    }
public function write ( & $ text ) { $ matches = array ( ) ; if ( preg_match_all ( '/<a(.*?)>/' , $ text , $ matches ) ) { foreach ( $ matches [ 1 ] as $ index => $ match ) { $ attribs = $ this -> _parseAttributes ( $ match ) ; $ attribs [ 'style' ] = 'color:#076da0;text-decoration:none' ; $ attribs = AnHelperArray :: toString ( $ attribs ) ; $ text = str_replace ( $ matches [ 0 ] [ $ index ] , '<a ' . $ attribs . ' >' , $ text ) ; } } return $ this ; }
Fixes blockquotes.

@param string Block of text to parse

@return LibBaseTemplateFilterLink
Fixes blockquotes .