summaryrefslogtreecommitdiff
path: root/modules/poll.module
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2002-05-14 21:56:01 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2002-05-14 21:56:01 +0000
commit87c134fa1eb05e3c08b2efaff6cf86dcea21a497 (patch)
tree77c52f2683e6ec7b0a3558e7e04fd41b513dfc86 /modules/poll.module
parentcc59e1f110a1455d25632aa39acb5a1b7e249fee (diff)
downloadbrdo-87c134fa1eb05e3c08b2efaff6cf86dcea21a497.tar.gz
brdo-87c134fa1eb05e3c08b2efaff6cf86dcea21a497.tar.bz2
Possible bug with filtering: linebreaks inside style's got converted into breaks.
Diffstat (limited to 'modules/poll.module')
-rw-r--r--modules/poll.module8
1 files changed, 4 insertions, 4 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 != "") {