Fix HTML docs empty page tab title.

This commit is contained in:
TomAwezome 2022-03-04 15:39:58 -05:00
parent 408e4d094e
commit 2f3c779c92

View file

@ -179,7 +179,7 @@ U8 *TOSLinkConvert1(U8 *link_st)
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 (*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;
I64 i, y, old_y = I64_MIN, col, old_u32_attr = DOCET_UNDEF_COLOR, old_attr, digits;
U32 *hl, *src;
@ -208,6 +208,7 @@ public CDoc *Doc2Html(CDoc *doc_in, U8 *html_header=NULL, U8 *body_header=NULL,
"<!DOCTYPE HTML>\n"
"<html>\n"
"<head>\n"
"<title>ZealOS</title>"
"<meta http-equiv=\"Content-Type\" "
"content=\"text/html;charset=US-ASCII\">\n"
"<meta name=\"generator\" content=\"$TX,"ZealOS V1.11",D="DD_OS_NAME_VERSION"$\">\n";