Closed (fixed)
Project:
Path Filter
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Apr 2008 at 00:18 UTC
Updated:
17 Oct 2009 at 13:39 UTC
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
Comment #1
alexanderpas commentedpleae explain.
Comment #2
mrfelton commentedClosing due to 7 months of inactivity. Plus, I have no idea what the original question was!