From 6321024b3c612ef7626eef85499a34ee35f7372c Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Wed, 3 Aug 2016 19:57:05 +0000 Subject: [PATCH] Standardize on using
(as opposed to
) Previously, the code used a bit of both. Since the HTML pages are HTML, standardize on "
". Signed-off-by: Niels Thykier --- cgi/search.cgi | 10 +++++----- cgi/version.cgi | 2 +- templates/en_US/cgi/bugreport.tmpl | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/cgi/search.cgi b/cgi/search.cgi index b1f5e09..d728542 100755 --- a/cgi/search.cgi +++ b/cgi/search.cgi @@ -198,11 +198,11 @@ for my $attribute (@{$cgi_var{attribute}}) { } print qq(\n); $$attribute{value}='' if not defined $$attribute{value}; - print qq(
\n); + print qq(
\n); $attr_num++; } -print qq(
); +print qq(
); # order @@ -269,9 +269,9 @@ if (defined $nres) { my $showseverity; $showseverity = "Severity: $attr{severity};\n"; print <#${bugnum}: $attr{'@title'} @{[htmlize_packagelinks($attr{package})]}
-$showseverity
-Sent by: @{[encode_entities($attr{'@author'})]} at $attr{'@cdate'}
+
  • #${bugnum}: $attr{'@title'} @{[htmlize_packagelinks($attr{package})]}
    +$showseverity
    +Sent by: @{[encode_entities($attr{'@author'})]} at $attr{'@cdate'}
    END # Deal with the snippet # make the things that match bits of the phrase bold, the rest normal. diff --git a/cgi/version.cgi b/cgi/version.cgi index 046fec6..e3df1fc 100755 --- a/cgi/version.cgi +++ b/cgi/version.cgi @@ -102,7 +102,7 @@ END print '['.($cgi_var{collapse}?"Don't c":'C').'ollapse] '; print '[Dot]
    '; + '">[Dot]
    '; print ''; print < diff --git a/templates/en_US/cgi/bugreport.tmpl b/templates/en_US/cgi/bugreport.tmpl index 66a1ca2..b4ec416 100644 --- a/templates/en_US/cgi/bugreport.tmpl +++ b/templates/en_US/cgi/bugreport.tmpl @@ -17,7 +17,7 @@ function toggle_infmessages()

    {html_escape($config{project})} {html_escape($config{bug})} report logs - -#{$bug_num}
    +#{$bug_num}
    {html_escape($status{subject})}

    {$version_graph}
    {include(q(cgi/bugreport_pkginfo))} -- 2.39.2