pathologic_filter |
./pathologic.module |
Implementation of hook_filter(). |
|
|
_pathologic_abs_regex |
./pathologic.module |
Return the hard part of the regular expression to be used when making paths
relative. $attr will probably be either 'href' or 'src'. |
1 |
|
_pathologic_abs_to_rel |
./pathologic.module |
preg_replace_callback() callback function.
Aids in turning an absolute path to a page on the local server to a relative
path so that Pathologic can act on it further. |
|
1 |
_pathologic_do_href |
./pathologic.module |
preg_replace_callback() callback function.
Properly formats an HREF element. Here's where the magic happens… |
|
1 |
_pathologic_do_src |
./pathologic.module |
preg_replace_callback() callback function.
Okay. If we have a local SRC attribute, there are two possibilities. |
|
1 |
_pathologic_url |
./pathologic.module |
Run the parts through url() if they look like they link to a local Drupal
path. Otherwise, it's a link to a file or something -- try to return it
in one piece. |
4 |
|