summaryrefslogtreecommitdiff
path: root/modules/poll/poll.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/poll/poll.module')
-rw-r--r--modules/poll/poll.module8
1 files changed, 4 insertions, 4 deletions
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 != "") {