Handle :optly: tags in document title