Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
98b25764
Commit
98b25764
authored
May 02, 2003
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid extraneous blank line generated in the middle of the document
head.
parent
f06b9053
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
16 deletions
+15
-16
Doc/perl/l2hinit.perl
Doc/perl/l2hinit.perl
+15
-16
No files found.
Doc/perl/l2hinit.perl
View file @
98b25764
...
...
@@ -614,26 +614,25 @@ sub make_head_and_body($$) {
$STYLESHEET = $FILE.".css" unless $STYLESHEET;
$MY_PARTIAL_HEADER = join('',
($DOCTYPE ? $DTDcomment : ''),
"
<html>
\n
<head>
\n
",
($BASE ? "
<base
href=
\"$BASE\"
>
\n
" : ''),
"
<link
rel=
\"STYLESHEET\"
href=
\"$STYLESHEET\"
type=
'text/css'
>
\n
",
"
<html>
\n
<head>
",
($BASE ? "
\n
<base
href=
\"$BASE\"
>
" : ''),
"
\n
<link
rel=
\"STYLESHEET\"
href=
\"$STYLESHEET\"
type=
'text/css'
>
",
($FAVORITES_ICON
? (
'
<link
rel=
"SHORTCUT ICON"
href=
"' . "
$
FAVORITES_ICON
\"
>
\n
")
? (
"\n
<link
rel=
\"SHORTCUT
ICON
\"
href=
\""
.
"$
FAVORITES_ICON
\"
>
")
: ''),
($EXTERNAL_UP_LINK
? (
'
<link
rel=
"start"
href=
"' . "
$
EXTERNAL_UP_LINK
\""
.
($
EXTERNAL_UP_TITLE
?
"
title=
'$EXTERNAL_UP_TITLE'
"
:
'')
.
"
>
\n"
)
? (
"\n
<link
rel=
'start'
href=
'" . $EXTERNAL_UP_LINK
. ($EXTERNAL_UP_TITLE ?
"'
title=
'$EXTERNAL_UP_TITLE'
>
" : "'>")
)
: ''),
"
<link
rel=
\"first\"
href=
\"$FILE.html\"",
"
\n
<link
rel=
\"first\"
href=
\"$FILE.html\"",
($
t_title
?
"
title=
'$t_title'
"
:
''),
"
>
\n"
,
'
>
'
,
($HAVE_TABLE_OF_CONTENTS
? ('
<link
rel=
"contents"
href=
"contents.html"
title=
"Contents"
>
'
. ($HAVE_GENERAL_INDEX ? "\n" : ''))
? "\n
<link
rel=
'contents'
href=
'contents.html'
title=
'Contents'
>
"
: ''),
($HAVE_GENERAL_INDEX
?
'
<link
rel=
"index"
href=
"genindex.html"
title=
"Index"
>
' . "\n
"
?
"\n
<link
rel=
'index'
href=
'genindex.html'
title=
'Index'
>
"
: ''),
# disable for now -- Mozilla doesn't do well with multiple indexes
# ($HAVE_MODULE_INDEX
...
...
@@ -645,10 +644,10 @@ sub make_head_and_body($$) {
# page always gets copied to about.html, even when we use the
# generated node###.html page names. Won't work with the
# rest of the Python doc tools.
? ("
<link
rel=
'last'
href=
'about.html'
"
.
"
title=
'About this document...'
>
\n
"
. "
<link
rel=
'help'
href=
'about.html'
"
.
"
title=
'About this document...'
>
\n
")
? ("
\n
<link
rel=
'last'
href=
'about.html'
"
.
"
title=
'About this document...'
>
"
. "
\n
<link
rel=
'help'
href=
'about.html'
"
.
"
title=
'About this document...'
>
")
: ''),
$more_links_mark,
"\n",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment