summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2011-12-10 13:46:50 +0100
committerBastien Guerry <bzg@altern.org>2011-12-10 13:46:50 +0100
commit4dfc520711d04a9f9ec7c62993e19e3d6b3ae601 (patch)
tree4eed91fe9a8fbd6640e7e71f34876801868e236e
parenta75e29ca5bc14734c760823c28540730f7a6eff8 (diff)
downloadorg-mode-4dfc520711d04a9f9ec7c62993e19e3d6b3ae601.tar.gz
UTILITIES/man*: Fix bug: don't insert </style>
-rwxr-xr-xUTILITIES/manfull.pl2
-rwxr-xr-xUTILITIES/mansplit.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/UTILITIES/manfull.pl b/UTILITIES/manfull.pl
index 60f126d..83c61e1 100755
--- a/UTILITIES/manfull.pl
+++ b/UTILITIES/manfull.pl
@@ -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">';
diff --git a/UTILITIES/mansplit.pl b/UTILITIES/mansplit.pl
index 0c14f3f..5e10047 100755
--- a/UTILITIES/mansplit.pl
+++ b/UTILITIES/mansplit.pl
@@ -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[/*><!--*/