handle %l in cd_preferences_buildblock