Répondre au commentaire | Pixel Clever

@Duffers,
In the module I route all the path patterns through the l() function so it maps the path patterns to existing aliases and replaces them automatically. This is really just Drupal core taking care of all of this. Yet another good reason to use the l() function rather than using your own code to create links programmatically.