Support internal links
Bugfix: functions `f:*-style` can not be used

because some styling templates rely on tunnel parameters, which are not
preserved when called from a function.