mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2025-01-27 14:46:02 +00:00
Fix HTML docs empty page tab title.
This commit is contained in:
parent
408e4d094e
commit
2f3c779c92
1 changed files with 3 additions and 2 deletions
|
@ -179,7 +179,7 @@ U8 *TOSLinkConvert1(U8 *link_st)
|
||||||
public CDoc *Doc2Html(CDoc *doc_in, U8 *html_header=NULL, U8 *body_header=NULL,
|
public CDoc *Doc2Html(CDoc *doc_in, U8 *html_header=NULL, U8 *body_header=NULL,
|
||||||
U8 *body_footer=NULL, U8 *html_footer=NULL, Bool line_anchors=TRUE,
|
U8 *body_footer=NULL, U8 *html_footer=NULL, Bool line_anchors=TRUE,
|
||||||
U8 (*link_convert)(U8 *link_st)=&TOSLinkConvert1, Bool line_nums=FALSE)
|
U8 (*link_convert)(U8 *link_st)=&TOSLinkConvert1, Bool line_nums=FALSE)
|
||||||
{//Convert $LK,"DolDoc",A="FI:::/Doc/DolDocOverview.DD"$doc to HTML file.
|
{//Convert $LK,"DolDoc",A="FI:::/Doc/DolDocOverview.DD"$ doc to HTML file.
|
||||||
CDocEntry *doc_e, *style, *doc_e2;
|
CDocEntry *doc_e, *style, *doc_e2;
|
||||||
I64 i, y, old_y = I64_MIN, col, old_u32_attr = DOCET_UNDEF_COLOR, old_attr, digits;
|
I64 i, y, old_y = I64_MIN, col, old_u32_attr = DOCET_UNDEF_COLOR, old_attr, digits;
|
||||||
U32 *hl, *src;
|
U32 *hl, *src;
|
||||||
|
@ -204,10 +204,11 @@ public CDoc *Doc2Html(CDoc *doc_in, U8 *html_header=NULL, U8 *body_header=NULL,
|
||||||
doc_out->flags |= DOCF_PLAIN_TEXT | DOCF_NO_CURSOR;
|
doc_out->flags |= DOCF_PLAIN_TEXT | DOCF_NO_CURSOR;
|
||||||
|
|
||||||
if (!html_header)
|
if (!html_header)
|
||||||
html_header =
|
html_header =
|
||||||
"<!DOCTYPE HTML>\n"
|
"<!DOCTYPE HTML>\n"
|
||||||
"<html>\n"
|
"<html>\n"
|
||||||
"<head>\n"
|
"<head>\n"
|
||||||
|
"<title>ZealOS</title>"
|
||||||
"<meta http-equiv=\"Content-Type\" "
|
"<meta http-equiv=\"Content-Type\" "
|
||||||
"content=\"text/html;charset=US-ASCII\">\n"
|
"content=\"text/html;charset=US-ASCII\">\n"
|
||||||
"<meta name=\"generator\" content=\"$TX,"ZealOS V1.11",D="DD_OS_NAME_VERSION"$\">\n";
|
"<meta name=\"generator\" content=\"$TX,"ZealOS V1.11",D="DD_OS_NAME_VERSION"$\">\n";
|
||||||
|
|
Loading…
Reference in a new issue