Previously, the code used a bit of both. Since the HTML pages are
HTML, standardize on "<br>".
Signed-off-by: Niels Thykier <niels@thykier.net>
}
print qq(</select>\n);
$$attribute{value}='' if not defined $$attribute{value};
}
print qq(</select>\n);
$$attribute{value}='' if not defined $$attribute{value};
- print qq(<input type="text" name="attribute_value" value="$$attribute{value}"><input type="submit" name="delete_attribute_$attr_num" value="Delete"><br/>\n);
+ print qq(<input type="text" name="attribute_value" value="$$attribute{value}"><input type="submit" name="delete_attribute_$attr_num" value="Delete"><br>\n);
-print qq(<input type="submit" name="add_attribute" value="Add Attribute"><br/>);
+print qq(<input type="submit" name="add_attribute" value="Add Attribute"><br>);
my $showseverity;
$showseverity = "Severity: <em>$attr{severity}</em>;\n";
print <<END;
my $showseverity;
$showseverity = "Severity: <em>$attr{severity}</em>;\n";
print <<END;
-<li><a href="$url${bugnum}#${msgnum}">#${bugnum}: $attr{'@title'}</a> @{[htmlize_packagelinks($attr{package})]}<br/>
-$showseverity<br/>
-Sent by: @{[encode_entities($attr{'@author'})]} at $attr{'@cdate'}<br/>
+<li><a href="$url${bugnum}#${msgnum}">#${bugnum}: $attr{'@title'}</a> @{[htmlize_packagelinks($attr{package})]}<br>
+$showseverity<br>
+Sent by: @{[encode_entities($attr{'@author'})]} at $attr{'@cdate'}<br>
END
# Deal with the snippet
# make the things that match bits of the phrase bold, the rest normal.
END
# Deal with the snippet
# make the things that match bits of the phrase bold, the rest normal.
print '<a href="'.html_escape(munge_url($this,collapse=>$cgi_var{collapse}?0:1)).
'">['.($cgi_var{collapse}?"Don't c":'C').'ollapse]</a> ';
print '<a href="'.html_escape(munge_url($this,dot=>1)).
print '<a href="'.html_escape(munge_url($this,collapse=>$cgi_var{collapse}?0:1)).
'">['.($cgi_var{collapse}?"Don't c":'C').'ollapse]</a> ';
print '<a href="'.html_escape(munge_url($this,dot=>1)).
print '<img src="'.html_escape(munge_url($this,info=>0)).'">';
print <<END;
</body>
print '<img src="'.html_escape(munge_url($this,info=>0)).'">';
print <<END;
</body>
</head>
<body>
<h1>{html_escape($config{project})} {html_escape($config{bug})} report logs -
</head>
<body>
<h1>{html_escape($config{project})} {html_escape($config{bug})} report logs -
-<a href="mailto:{$bug_num}@{html_escape($config{email_domain})}">#{$bug_num}</a><br/>
+<a href="mailto:{$bug_num}@{html_escape($config{email_domain})}">#{$bug_num}</a><br>
{html_escape($status{subject})}</h1>
<div class="versiongraph">{$version_graph}</div>
{include(q(cgi/bugreport_pkginfo))}
{html_escape($status{subject})}</h1>
<div class="versiongraph">{$version_graph}</div>
{include(q(cgi/bugreport_pkginfo))}