Skip to content

Commit

Permalink
roffit: change <STYLE> and additional </p>
Browse files Browse the repository at this point in the history
Minor edits to html output lines.

see xhtml standard - https://www.w3.org/TR/xhtml1/#h-4.2

similar to roffit bagder#39 
would reopen roffit bagder#40
  • Loading branch information
jhauga authored Jul 14, 2023
1 parent 2e3b2bc commit 7887cc6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions roffit
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ sub showp {

sub defaultcss {
print $OutFH <<ENDOFCSS
<STYLE type="text/css">
<style type="text/css">
pre {
overflow: auto;
margin: 0;
Expand Down Expand Up @@ -152,7 +152,7 @@ p.roffit {
text-align: center;
font-size: 80%;
}
</STYLE>
</style>
ENDOFCSS
;
}
Expand Down Expand Up @@ -639,7 +639,7 @@ else {
print $OutFH @conv;
print $OutFH <<ROFFIT
<p class="roffit">
This HTML page was made with <a href="http://daniel.haxx.se/projects/roffit/">roffit</a>.
This HTML page was made with <a href="http://daniel.haxx.se/projects/roffit/">roffit</a>.</p>
ROFFIT
;

Expand Down

0 comments on commit 7887cc6

Please sign in to comment.