Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl
Commits
fe95abd0
Commit
fe95abd0
authored
Apr 11, 2013
by
Miguel Pignatelli
Browse files
Fixed headers in slurp_intro method
parent
1f0ffc50
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
misc-scripts/sql2html.pl
misc-scripts/sql2html.pl
+5
-2
No files found.
misc-scripts/sql2html.pl
View file @
fe95abd0
...
...
@@ -1087,13 +1087,16 @@ sub length_names {
sub
slurp_intro
{
my
(
$intro_file
)
=
@_
;
my
$intro_html
=
qq{<h1>Ensembl $db_team Schema Documentation</h1>\n<h2>Introduction</h2>\n}
;
if
(
!
defined
$intro_file
)
{
return
qq{<h1>Ensembl $db_team Schema Documentation</h1>\n<h2>Introduction</h2>\n
<p><i>please, insert your introduction here</i><p><br />}
;
return
$intro_html
.
qq{
<p><i>please, insert your introduction here</i><p><br />}
;
}
local
$/
=
undef
;
open
my
$fh
,
"
<
$intro_file
"
or
die
"
Can't open
$intro_file
: $!
";
my
$intro_html
=
<
$fh
>
;
$intro_html
.
=
<
$fh
>
;
close
$fh
;
return
$intro_html
;
}
...
...
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