Commit 7c88620b authored by Arnaud Legrand's avatar Arnaud Legrand

[HTML] Change header style

parent 670bdde2
...@@ -78,6 +78,13 @@ while(defined(my $line=<INPUT>)) { ...@@ -78,6 +78,13 @@ while(defined(my $line=<INPUT>)) {
# if($line =~ /img src="([^%][^"]*)"/) { # if($line =~ /img src="([^%][^"]*)"/) {
# $line = "\t".$line; # $line = "\t".$line;
# } # }
#### Changing headers
foreach($i in (4,3,2,1)) {
$j=$i+1;
$line =~ s|<h$i|<h$j|g;
$line =~ s|</h$i|</h$j|g;
}
print OUTPUT $line; print OUTPUT $line;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment