UTILITIES/man*: Fix bug: don't insert </style>

This commit is contained in:
Bastien Guerry 2011-12-10 13:46:50 +01:00
parent a75e29ca5b
commit 4dfc520711
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ open OUT,">$page" or die "Cannot write to $page\n";
while (<IN>) {
if (/<meta http-equiv="Content-Style-Type" content="text\/css">/) {
print OUT;
print OUT '</style><link rel="stylesheet" href="http://orgmode.org/org.css" type="text/css" />';
print OUT '<link rel="stylesheet" href="http://orgmode.org/org.css" type="text/css" />';
} elsif (/<div class="contents">/) {
print OUT;
print OUT '<div id="table-of-contents">';

View File

@ -43,7 +43,7 @@ EOF
$script = <<'EOF';
</style><link rel="stylesheet" href="http://orgmode.org/org.css" type="text/css" />
<link rel="stylesheet" href="http://orgmode.org/org.css" type="text/css" />
<script type="text/javascript" src="http://orgmode.org/org-keys.js"></script>
<script type="text/javascript">
<!--/*--><![CDATA[/*><!--*/