From 86a1ebefd3073713e795035c5bc0b0d1024a2189 Mon Sep 17 00:00:00 2001 From: David Rothstein Date: Wed, 5 Nov 2014 02:09:34 -0500 Subject: Issue #2307505 by Cottser, David_Rothstein, Fabianx: Followup to ensure all theme debug output is properly sanitized. --- includes/theme.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'includes') diff --git a/includes/theme.inc b/includes/theme.inc index d2a142b64..ed34b8289 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1554,7 +1554,7 @@ function _theme_render_template_debug($template_function, $template_file, $varia 'debug_suffix' => '', ); $output['debug_prefix'] .= "\n\n"; - $output['debug_prefix'] .= "\n"; + $output['debug_prefix'] .= "\n"; // If there are theme suggestions, reverse the array so more specific // suggestions are shown first. if (!empty($variables['theme_hook_suggestions'])) { @@ -1587,10 +1587,10 @@ function _theme_render_template_debug($template_function, $template_file, $varia $prefix = ($template == $current_template) ? 'x' : '*'; $suggestion = $prefix . ' ' . $template; } - $output['debug_info'] .= "\n"; + $output['debug_info'] .= "\n"; } - $output['debug_info'] .= "\n\n"; - $output['debug_suffix'] .= "\n\n\n"; + $output['debug_info'] .= "\n\n"; + $output['debug_suffix'] .= "\n\n\n"; return implode('', $output); } -- cgit v1.2.3