Sanitised permalinks now that they can be generated from outside our code.