By kohlerj on
We want to convert urls in content and menus to relative urls if they are local. ie.
from: http://my.example.com/~dev/?q=/node/30
to: l(/node/30) or ?q=/node/30
The motivation for this is so that links do not break when we move a site from dev to live. The url conversion must happen upon submission. Could someone suggest a way to do this. Something in wiki.module could be used for general content, but what about menus?