From 87c134fa1eb05e3c08b2efaff6cf86dcea21a497 Mon Sep 17 00:00:00 2001 From: Steven Wittens <steven@10.no-reply.drupal.org> Date: Tue, 14 May 2002 21:56:01 +0000 Subject: [PATCH] Possible bug with filtering: linebreaks inside style's got converted into breaks. --- modules/poll.module | 8 ++++---- modules/poll/poll.module | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/poll.module b/modules/poll.module index 9cb0bf20a90a..0115de124884 100644 --- a/modules/poll.module +++ b/modules/poll.module @@ -242,10 +242,10 @@ function poll_view(&$node, $main = 0, $block = 0) { $votesmax = max($votesmax, 1); // Define CSS classes for the bars - $output .= "<style type=\"text/css\">\n"; - $output .= "td.pollfg { background-color: ". $theme->foreground ."; font-size: 5pt; }\n"; - $output .= "td.pollbg { background-color: ". $theme->background ."; font-size: 5pt; }\n"; - $output .= "</style>\n"; + $output .= "<style type=\"text/css\">"; + $output .= "td.pollfg { background-color: ". $theme->foreground ."; font-size: 5pt; }"; + $output .= "td.pollbg { background-color: ". $theme->background ."; font-size: 5pt; }"; + $output .= "</style>"; foreach ($node->choice as $key => $value) { if ($value != "") { diff --git a/modules/poll/poll.module b/modules/poll/poll.module index 9cb0bf20a90a..0115de124884 100644 --- a/modules/poll/poll.module +++ b/modules/poll/poll.module @@ -242,10 +242,10 @@ function poll_view(&$node, $main = 0, $block = 0) { $votesmax = max($votesmax, 1); // Define CSS classes for the bars - $output .= "<style type=\"text/css\">\n"; - $output .= "td.pollfg { background-color: ". $theme->foreground ."; font-size: 5pt; }\n"; - $output .= "td.pollbg { background-color: ". $theme->background ."; font-size: 5pt; }\n"; - $output .= "</style>\n"; + $output .= "<style type=\"text/css\">"; + $output .= "td.pollfg { background-color: ". $theme->foreground ."; font-size: 5pt; }"; + $output .= "td.pollbg { background-color: ". $theme->background ."; font-size: 5pt; }"; + $output .= "</style>"; foreach ($node->choice as $key => $value) { if ($value != "") { -- GitLab