From b8b1db69a4e908bd4e20f9d5b965fab04f6df6fd Mon Sep 17 00:00:00 2001 From: Alex Schroeder Date: Wed, 5 Jan 2005 22:19:39 +0000 Subject: [PATCH] (RSS, GetRcHtml): Use ndash to separate summary from the rest of the item. The dash is in a new span. --- wiki.pl | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/wiki.pl b/wiki.pl index 5cd8e8e1..81df3e9f 100755 --- a/wiki.pl +++ b/wiki.pl @@ -355,7 +355,7 @@ sub InitVariables { # Init global session variables for mod_perl! unshift(@MyRules, \&MyRules) if defined(&MyRules) && (not @MyRules or $MyRules[0] != \&MyRules); @MyRules = sort {$RuleOrder{$a} <=> $RuleOrder{$b}} @MyRules; # default is 0 $WikiDescription = $q->p($q->a({-href=>'http://www.oddmuse.org/'}, 'Oddmuse')) - . $q->p(q{$Id: wiki.pl,v 1.514 2005/01/05 21:27:06 as Exp $}); + . $q->p(q{$Id: wiki.pl,v 1.515 2005/01/05 22:19:39 as Exp $}); $WikiDescription .= $ModulesDescription if $ModulesDescription; foreach my $sub (@MyInitVariables) { my $result = &$sub; @@ -882,7 +882,8 @@ sub RSS { } $line .= $q->span({-class=>'contributor'}, $q->span(T(' . . . . ')) . $contributor) if $contributor; - $line .= $q->span(' -- ') . $q->strong({-class=>'description'}, $description) if $description; + $line .= $q->span({class=>'dash'}, ' – ') . $q->strong({-class=>'description'}, $description) + if $description; while ($lines{$date}) { $date .= ' '; } # make sure this is unique $lines{$date} = $line; } @@ -899,7 +900,7 @@ sub RSS { $date = $day; $str .= $q->p($q->strong($day)) . '