diff options
-rw-r--r-- | modules/poll.module | 8 | ||||
-rw-r--r-- | modules/poll/poll.module | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/modules/poll.module b/modules/poll.module index 9cb0bf20a..0115de124 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 9cb0bf20a..0115de124 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 != "") { |