using \" url() \" you excluded a convertion this link by drupal filter.
I sugest to chang the line:

          return preg_replace('/"internal:([^"#\?]+)\??([^"#]+)?#?([^"]+)?"/e',
              "'\"'. url('$1', array('query' => '$2' ? '$2' : NULL, 'fragment' => '$3' ? '$3' : NULL, 'absolute' => ". $absolute .")) .' \"'", $text);

to:

      ($absolute == 'TRUE') ? $a = '' : $a = '"';
      return preg_replace('/"internal:([^"#\?]+)\??([^"#]+)?#?([^"]+)?"/e',
        "'$a'. url('$1', array('query' => '$2' ? '$2' : NULL, 'fragment' => '$3' ? '$3' : NULL, 'absolute' => ". $absolute .")) .'$a'", $text);

Comments

alexanderpas’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

pleae explain.

mrfelton’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Closing due to 7 months of inactivity. Plus, I have no idea what the original question was!