mirror of
https://github.com/webmin/webmin.git
synced 2025-08-16 14:51:18 +00:00
Remove explicit <hr> from help pages
This commit is contained in:
6
help.cgi
6
help.cgi
@ -34,8 +34,12 @@ else {
|
||||
&helperror($text{'help_eheader'});
|
||||
}
|
||||
|
||||
# replace any explicit use of <hr> with the ui-lib function
|
||||
$uihr = &ui_hr();
|
||||
$help =~ s/<hr>/$uihr/ig;
|
||||
|
||||
# find and replace the <footer> section
|
||||
$help =~ s/<footer>/<p><hr>/i;
|
||||
$help =~ s/<footer>/<p>/i;
|
||||
|
||||
# find and replace <include> directives
|
||||
$help =~ s/<include\s+(\S+)>/inchelp($1)/ige;
|
||||
|
Reference in New Issue
Block a user