diff --git a/core/includes/theme.inc b/core/includes/theme.inc
index d044f06..b767f03 100644
--- a/core/includes/theme.inc
+++ b/core/includes/theme.inc
@@ -1459,7 +1459,7 @@ function theme_render_template($template_file, $variables) {
   extract($variables, EXTR_SKIP);               // Extract the variables to a local namespace
   ob_start();                                   // Start output buffering
   include DRUPAL_ROOT . '/' . $template_file;   // Include the template file
-  return ob_get_clean();                        // End buffering and return its contents
+  return token_replace(ob_get_clean());         // End buffering and return its contents
 }
 
 /**
